Changeset 226 in pacpusframework for trunk/cmake
- Timestamp:
- Nov 25, 2013, 10:07:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/PacpusDependencies.cmake
r223 r226 19 19 set(QT_CMAKE_DIR "$ENV{QT_BIN}/../lib/cmake") 20 20 get_filename_component(QT_CMAKE_DIR "${QT_CMAKE_DIR}" ABSOLUTE) 21 #message(STATUS "\${QT_CMAKE_DIR} = '${QT_CMAKE_DIR}'") 21 if(DEBUG) 22 message(STATUS "\${QT_CMAKE_DIR} = '${QT_CMAKE_DIR}'") 23 endif() 22 24 list(APPEND CMAKE_PREFIX_PATH 23 25 ${QT_CMAKE_DIR} 24 26 ) 25 27 if(WIN32) 26 message(STATUS "Environment variable 'WINSDK_LIB' should be set to something like 'C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86'") 27 #message(STATUS "\$ENV{WINSDK_LIB} = '$ENV{WINSDK_LIB}'") 28 set(WINSDK_LIB "$ENV{WINSDK_LIB}" CACHE PATH "Directory of Windows Development Kit, should contain glu32.lib.") 29 if("${WINSDK_LIB}" STREQUAL "") 30 message(STATUS "Environment variable 'WINSDK_LIB' should be set to something like 'C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86'") 31 endif() 32 if(DEBUG) 33 message(STATUS "\$ENV{WINSDK_LIB} = '$ENV{WINSDK_LIB}'") 34 message(STATUS "\${WINSDK_LIB} = '${WINSDK_LIB}'") 35 endif() 28 36 list(APPEND CMAKE_PREFIX_PATH 29 $ ENV{WINSDK_LIB}37 ${WINSDK_LIB} 30 38 ) 39 endif() 40 if(DEBUG) 41 message(STATUS "\${CMAKE_PREFIX_PATH} = '${CMAKE_PREFIX_PATH}'") 31 42 endif() 32 43
Note:
See TracChangeset
for help on using the changeset viewer.