Changeset 322 in pacpusframework for trunk/cmake
- Timestamp:
- Oct 28, 2014, 12:36:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/PacpusDependencies.cmake
r301 r322 18 18 set(QT_CMAKE_DIR "$ENV{QT_BIN}/../lib/cmake") 19 19 get_filename_component(QT_CMAKE_DIR "${QT_CMAKE_DIR}" ABSOLUTE) 20 if(DEBUG) 21 message(STATUS "\${QT_CMAKE_DIR} = '${QT_CMAKE_DIR}'") 22 endif() 20 message(STATUS "\${QT_CMAKE_DIR} = '${QT_CMAKE_DIR}'") 23 21 list(APPEND CMAKE_PREFIX_PATH 24 22 ${QT_CMAKE_DIR} … … 26 24 if(WIN32) 27 25 set(WINSDK_LIB "$ENV{WINSDK_LIB}" CACHE PATH "Directory of Windows Development Kit, should contain glu32.lib.") 26 find_library(GLU32_LIB_PATH glu32 "${WINSDK_LIB}" "$ENV{WINSDK_LIB}") 27 get_filename_component(WINSDK_LIB "${GLU32_LIB_PATH}" DIRECTORY) 28 28 if("${WINSDK_LIB}" STREQUAL "") 29 message(STATUS "Environment variable 'WINSDK_LIB' should be set to something like 'C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86'") 30 endif() 31 if(DEBUG) 29 message(STATUS "Environment variable 'WINSDK_LIB' should be set to the path containing glu32 library, e.g. 'C:/Program Files (x86)/Windows Kits/8.0/Lib/win8/um/x86'") 30 else() 32 31 message(STATUS "\$ENV{WINSDK_LIB} = '$ENV{WINSDK_LIB}'") 33 32 message(STATUS "\${WINSDK_LIB} = '${WINSDK_LIB}'")
Note:
See TracChangeset
for help on using the changeset viewer.