ENH: typo
[cmake.git] / Modules / Platform / WindowsPaths.cmake
blob45ed4795d49e66170a54143c9dd493290cc2011e
1 GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${CMAKE_ROOT}" PATH)
2 GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH)
4 # List common installation prefixes.  These will be used for all
5 # search types.
6 LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH
7   # Standard
8   "$ENV{ProgramFiles}"
10   # CMake install location
11   "${_CMAKE_INSTALL_DIR}"
13   # Project install destination.
14   "${CMAKE_INSTALL_PREFIX}"
16   # MinGW (useful when cross compiling from linux with CMAKE_FIND_ROOT_PATH set)
17   /
18   )
20 LIST(APPEND CMAKE_SYSTEM_INCLUDE_PATH
21   )
23 # mingw can also link against dlls which can also be in /bin, so list this too
24 LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH
25   "${CMAKE_INSTALL_PREFIX}/bin"
26   "${_CMAKE_INSTALL_DIR}/bin"
27   /bin
28   )
30 LIST(APPEND CMAKE_SYSTEM_PROGRAM_PATH
31   )