diff options
author | Roger Leigh <rleigh@codelibre.net> | 2021-02-11 20:36:49 +0000 |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2021-02-13 12:24:53 +0000 |
commit | b7f80a731bee6a1a7d4d32d7d6c54ced645f5287 (patch) | |
tree | 37c2e566362c07574042261f0cf6226302ad942a /cmake | |
parent | b436455f6d9823213b269187d08105613bf1b0b5 (diff) | |
download | libtiff-git-b7f80a731bee6a1a7d4d32d7d6c54ced645f5287.tar.gz |
cmake: Tidy toplevel
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/WindowsSupport.cmake (renamed from cmake/WindowsIOFeature.cmake) | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cmake/WindowsIOFeature.cmake b/cmake/WindowsSupport.cmake index 252f064b..93c13094 100644 --- a/cmake/WindowsIOFeature.cmake +++ b/cmake/WindowsSupport.cmake @@ -1,4 +1,4 @@ -# Windows Win32 IO +# Windows support # # Copyright © 2015 Open Microscopy Environment / University of Dundee # Copyright © 2021 Roger Leigh <rleigh@codelibre.net> @@ -23,6 +23,12 @@ # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE # OF THIS SOFTWARE. +# Debug postfix +if(MSVC) + set(CMAKE_DEBUG_POSTFIX "d") +endif() + +# Win32 file I/O set(win32_io_default OFF) if(WIN32) set(win32_io_default ON) |