Changeset 7225 for code/trunk
- Timestamp:
- Aug 26, 2010, 3:02:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/cmake/LibraryConfig.cmake
r7224 r7225 52 52 IF(DEPENDENCY_PACKAGE_ENABLE) 53 53 GET_FILENAME_COMPONENT(_dep_dir_1 ${CMAKE_SOURCE_DIR}/../dependencies ABSOLUTE) 54 GET_FILENAME_COMPONENT(_dep_dir_2 ${CMAKE_SOURCE_DIR}/../lib_dist/dependencies ABSOLUTE) 54 GET_FILENAME_COMPONENT(_dep_dir_2 ${CMAKE_SOURCE_DIR}/../lib_dist ABSOLUTE) 55 IF(MINGW) 56 SET(_compiler_prefix mingw) 57 ELSEIF(MSVC80) 58 SET(_compiler_prefix msvc8) 59 ELSEIF(MSVC90) 60 SET(_compiler_prefix msvc9) 61 ENDIF() 55 62 FIND_PATH(DEPENDENCY_PACKAGE_DIR 56 NAMES include63 NAMES version.txt 57 64 PATHS 58 65 ${CMAKE_SOURCE_DIR}/dependencies 59 66 ${_dep_dir_1} 60 67 ${_dep_dir_2} 68 PATH_SUFFIXES ${_compiler_prefix} ${_compiler_prefix}/dependencies 61 69 NO_CMAKE_PATH NO_CMAKE_ENVIRONMENT_PATH NO_SYSTEM_ENVIRONMENT_PATH NO_CMAKE_SYSTEM_PATH 62 70 )
Note: See TracChangeset
for help on using the changeset viewer.