diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2017-03-16 10:04:29 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2017-03-16 10:04:29 (GMT) |
commit | 0b668e52a91b7f03f312c691e5b1c54a371d0316 (patch) | |
tree | b0f20e9d845b466c5513f1e9115c7aab591b47e9 /Modules/Platform/CYGWIN.cmake | |
parent | 2a8c2af4d4ca1ec653c87c11a3f79a241b6b27e7 (diff) | |
download | CMake-0b668e52a91b7f03f312c691e5b1c54a371d0316.zip CMake-0b668e52a91b7f03f312c691e5b1c54a371d0316.tar.gz CMake-0b668e52a91b7f03f312c691e5b1c54a371d0316.tar.bz2 |
Cygwin: Move Cygwin-specific paths to the cygwin platform
Diffstat (limited to 'Modules/Platform/CYGWIN.cmake')
-rw-r--r-- | Modules/Platform/CYGWIN.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Modules/Platform/CYGWIN.cmake b/Modules/Platform/CYGWIN.cmake index 22816e7..9b897bd 100644 --- a/Modules/Platform/CYGWIN.cmake +++ b/Modules/Platform/CYGWIN.cmake @@ -62,3 +62,13 @@ set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".a") set(CMAKE_SHARED_LIBRARY_NAME_WITH_VERSION 1) include(Platform/UnixPaths) + +# Windows API on Cygwin +list(APPEND CMAKE_SYSTEM_INCLUDE_PATH + /usr/include/w32api + ) + +# Windows API on Cygwin +list(APPEND CMAKE_SYSTEM_LIBRARY_PATH + /usr/lib/w32api + ) |