mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
Cygwin: Move Cygwin-specific paths to the cygwin platform
This commit is contained in:
@@ -62,3 +62,13 @@ set(CMAKE_FIND_LIBRARY_SUFFIXES ".dll.a" ".a")
|
|||||||
set(CMAKE_SHARED_LIBRARY_NAME_WITH_VERSION 1)
|
set(CMAKE_SHARED_LIBRARY_NAME_WITH_VERSION 1)
|
||||||
|
|
||||||
include(Platform/UnixPaths)
|
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
|
||||||
|
)
|
||||||
|
|||||||
@@ -50,17 +50,11 @@ list(APPEND CMAKE_SYSTEM_PREFIX_PATH
|
|||||||
|
|
||||||
# List common include file locations not under the common prefixes.
|
# List common include file locations not under the common prefixes.
|
||||||
list(APPEND CMAKE_SYSTEM_INCLUDE_PATH
|
list(APPEND CMAKE_SYSTEM_INCLUDE_PATH
|
||||||
# Windows API on Cygwin
|
|
||||||
/usr/include/w32api
|
|
||||||
|
|
||||||
# X11
|
# X11
|
||||||
/usr/include/X11
|
/usr/include/X11
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND CMAKE_SYSTEM_LIBRARY_PATH
|
list(APPEND CMAKE_SYSTEM_LIBRARY_PATH
|
||||||
# Windows API on Cygwin
|
|
||||||
/usr/lib/w32api
|
|
||||||
|
|
||||||
# X11
|
# X11
|
||||||
/usr/lib/X11
|
/usr/lib/X11
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user