Changeset 8285 for code/branches/kicklib2/cmake/PackageConfig.cmake
- Timestamp:
- Apr 21, 2011, 7:43:10 PM (14 years ago)
- Location:
- code/branches/kicklib2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2
-
code/branches/kicklib2/cmake/PackageConfig.cmake
r8284 r8285 33 33 COMPARE_VERSION_STRINGS(${DEPENDENCY_VERSION} 5 _result TRUE) 34 34 IF(NOT _result EQUAL -1 AND NOT APPLE) 35 SET( POCO_REQUIREDTRUE)35 SET(OGRE_NEEDS_POCO TRUE) 36 36 ENDIF() 37 37 … … 75 75 76 76 ## RELEASE 77 # Try to filter out all the debug libraries. If the regex doesn't do the 78 # job anymore, simply adjust it. 79 INSTALL( 80 DIRECTORY ${DEP_BINARY_DIR}/ 81 DESTINATION bin 82 CONFIGURATIONS Release RelWithDebInfo MinSizeRel 83 REGEX "_[Dd]\\.[a-zA-Z0-9+-]+$|-mt-gd-|^.*\\.pdb$" EXCLUDE 84 ) 77 IF(EXISTS ${DEP_BINARY_DIR}/install_manifest.txt) 78 FILE(STRINGS ${DEP_BINARY_DIR}/install_manifest.txt _files) 79 FOREACH(_file ${_files}) 80 INSTALL( 81 FILES ${DEP_BINARY_DIR}/${_file} 82 DESTINATION bin 83 CONFIGURATIONS Release RelWithDebInfo MinSizeRel 84 ) 85 ENDFOREACH(_file) 86 ELSE() 87 # Try to filter out all the debug libraries. If the regex doesn't do the 88 # job anymore, simply adjust it. 89 INSTALL( 90 DIRECTORY ${DEP_BINARY_DIR}/ 91 DESTINATION bin 92 CONFIGURATIONS Release RelWithDebInfo MinSizeRel 93 REGEX "_[Dd]\\.[a-zA-Z0-9+-]+$|-mt-gd-|^.*\\.pdb$" EXCLUDE 94 ) 95 ENDIF() 85 96 ENDIF()
Note: See TracChangeset
for help on using the changeset viewer.