summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/WindowsPaths.cmake
blob: 62997757be216c66b4da4e89f102417fe07731d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${CMAKE_ROOT}" PATH)
GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH)

SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH}  
    "$ENV{ProgramFiles}" "${_CMAKE_INSTALL_DIR}/include")

SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH} 
   "$ENV{ProgramFiles}" "${_CMAKE_INSTALL_DIR}/lib" "${_CMAKE_INSTALL_DIR}/bin")

SET(CMAKE_SYSTEM_PROGRAM_PATH ${CMAKE_SYSTEM_PROGRAM_PATH} 
   "$ENV{ProgramFiles}" "${_CMAKE_INSTALL_DIR}/bin")