diff options
author | Brad King <brad.king@kitware.com> | 2014-03-04 15:19:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-04 15:19:33 (GMT) |
commit | 7db95df39d8c191f3de92f4d60a0e4106700dda5 (patch) | |
tree | 2ad8cf29089fb986eb82a397e4ed87642a06c835 /Source/kwsys/CMakeLists.txt | |
parent | 74b982ce734dd55a4155ba8ba0462fef894d6ec0 (diff) | |
parent | f096786d5428505f8313f6b01f4631f5a34b27a2 (diff) | |
download | CMake-7db95df39d8c191f3de92f4d60a0e4106700dda5.zip CMake-7db95df39d8c191f3de92f4d60a0e4106700dda5.tar.gz CMake-7db95df39d8c191f3de92f4d60a0e4106700dda5.tar.bz2 |
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/CMakeLists.txt')
-rw-r--r-- | Source/kwsys/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/kwsys/CMakeLists.txt b/Source/kwsys/CMakeLists.txt index 24ea518..3ad5c2e 100644 --- a/Source/kwsys/CMakeLists.txt +++ b/Source/kwsys/CMakeLists.txt @@ -685,6 +685,7 @@ IF(KWSYS_USE_SystemInformation) # usually it's in libc but on FreeBSD # it's in libexecinfo FIND_LIBRARY(EXECINFO_LIB "execinfo") + MARK_AS_ADVANCED(EXECINFO_LIB) IF (NOT EXECINFO_LIB) SET(EXECINFO_LIB "") ENDIF() @@ -1076,6 +1077,11 @@ IF(MSVC OR (WIN32 AND "${CMAKE_C_COMPILER_ID}" MATCHES "^(Intel)$")) ) ENDIF() +IF(WIN32) + # Help enforce the use of wide Windows apis. + ADD_DEFINITIONS(-DUNICODE -D_UNICODE) +ENDIF() + IF(KWSYS_USE_String) # Activate code in "String.c". See the comment in the source. SET_SOURCE_FILES_PROPERTIES(String.c PROPERTIES |