Changeset 7582 for code/branches/ois_update/cmake/LibraryConfig.cmake
- Timestamp:
- Oct 25, 2010, 11:05:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/cmake/LibraryConfig.cmake
r7521 r7582 40 40 # On Windows using a package causes way less problems 41 41 SET(_option_msg "Set this to true to use precompiled dependecy archives") 42 IF(WIN32 )42 IF(WIN32 OR APPLE) 43 43 OPTION(DEPENDENCY_PACKAGE_ENABLE "${_option_msg}" ON) 44 ELSE( WIN32)44 ELSE() 45 45 OPTION(DEPENDENCY_PACKAGE_ENABLE "${_option_msg}" FALSE) 46 ENDIF( WIN32)46 ENDIF() 47 47 48 48 # Scripts for specific library and CMake config 49 49 INCLUDE(LibraryConfigTardis) 50 INCLUDE(LibraryConfigApple)51 50 52 51 IF(DEPENDENCY_PACKAGE_ENABLE) … … 73 72 "Disable LIBRARY_USE_PACKAGE if you have none intalled.") 74 73 ELSE() 75 INCLUDE(PackageConfigMinGW) 76 INCLUDE(PackageConfigMSVC) 77 INCLUDE(PackageConfig) # For both msvc and mingw 74 IF(WIN32) 75 INCLUDE(PackageConfigMinGW) 76 INCLUDE(PackageConfigMSVC) 77 INCLUDE(PackageConfig) # For both msvc and mingw 78 ELSEIF(APPLE) 79 INCLUDE(PackageConfigOSX) 80 ENDIF(WIN32) 78 81 ENDIF() 79 82 ENDIF(DEPENDENCY_PACKAGE_ENABLE)
Note: See TracChangeset
for help on using the changeset viewer.