#
#-----------------------------------------------------------------------------
-MACRO(CREA_ADVANCED_INSTALL_LIBRARY_FOR_CMAKE LIBRARY_NAME)
-
+MACRO(CREA_ADVANCED_INSTALL_LIBRARY_FOR_CMAKE LIBRARY_NAME)
+
#---------------------------------------------------------------------------
# Sets the common values to build tree and install tree configs
SET(CILC_LIB_REQUIRED_C_FLAGS ${${LIBRARY_NAME}_REQUIRED_C_FLAGS})
ENDIF(${LIBRARY_NAME}_INSTALL_FOLDER)
ENDIF(WIN32)
+ message(STATUS "Library Install Path ${INSTALL_PATH}")
+
# UseLIBRARY_NAME.cmake
CONFIGURE_FILE(
${CREA_CMAKE_DIR}/InstallLibraryForCMake_UseLibrary.cmake.in
MACRO(CREA_INSTALL_LIBRARY_FOR_CMAKE LIBRARY_NAME1)
# Sets the settings to default values
- SET(${LIBRARY_NAME1}_INSTALL_FOLDER ${LIBRARY_NAME1})
+ IF(NOT ${LIBRARY_NAME1}_INSTALL_FOLDER)
+ SET(${LIBRARY_NAME1}_INSTALL_FOLDER ${LIBRARY_NAME1})
+ ENDIF(NOT ${LIBRARY_NAME1}_INSTALL_FOLDER)
+
SET(${LIBRARY_NAME1}_LIBRARIES ${LIBRARY_NAME1})
FILE(RELATIVE_PATH
# ${CILFC_EXECUTABLE_OUTPUT_REL_PATH}/Release)
SET(${LIBRARY_NAME1}_INSTALL_TREE_RELATIVE_LIBRARY_PATHS bin)
ENDIF(UNIX)
- SET(${LIBRARY_NAME1}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS include/${LIBRARY_NAME1})
+
+ IF(NOT ${LIBRARY_NAME1}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS)
+ SET(${LIBRARY_NAME1}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS include/${LIBRARY_NAME1})
+ ENDIF(NOT ${LIBRARY_NAME1}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS)
# Invoke the advanced macro
CREA_ADVANCED_INSTALL_LIBRARY_FOR_CMAKE(${LIBRARY_NAME1})