)
# LIBRARY_NAMEBuildSettings.cmake :
# Save the compiler settings so another project can import them.
+ # FCY : DEPREDCATED FUNCTION FOR CMAKE 2.8
+ IF( "${CMAKE_MINIMUM_REQUIRED_VERSION}" VERSION_LESS 2.7)
INCLUDE(${CMAKE_ROOT}/Modules/CMakeExportBuildSettings.cmake)
CMAKE_EXPORT_BUILD_SETTINGS(${PROJECT_BINARY_DIR}/${LIBRARY_NAME}BuildSettings.cmake)
+ ENDIF()
# Additional Config and Use files
IF(CILC_LIB_HAS_ADDITIONAL_CONFIG_FILE)
CONFIGURE_FILE(
DESTINATION ${INSTALL_PATH}
)
# LIBRARY_NAMEBuildSettings.cmake :
+ # FCY : DEPREDCATED FUNCTION FOR CMAKE 2.8
+ IF( "${CMAKE_MINIMUM_REQUIRED_VERSION}" VERSION_LESS 2.7)
CMAKE_EXPORT_BUILD_SETTINGS(${CILC_WORK_DIR}/${LIBRARY_NAME}BuildSettings.cmake)
+ ENDIF()
INSTALL(
FILES
${CILC_WORK_DIR}/${LIBRARY_NAME}BuildSettings.cmake