${PROJECT_BINARY_DIR} ${EXECUTABLE_OUTPUT_PATH})
ENDIF ( ${PROJECT_BINARY_DIR} STREQUAL ${EXECUTABLE_OUTPUT_PATH} )
+
+ SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_LIBRARY_PATHS ${CMAKE_CREA_LIB_PATH} )
+
IF(UNIX)
ADD_DEFINITIONS(-fPIC)
SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_LIBRARY_PATHS
${CILFC_EXECUTABLE_OUTPUT_REL_PATH})
- SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_LIBRARY_PATHS lib)
ELSE(UNIX)
SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_LIBRARY_PATHS
${CILFC_EXECUTABLE_OUTPUT_REL_PATH})
- SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_LIBRARY_PATHS bin)
ENDIF(UNIX)
SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS include/${LIBRARY_NAME})
INSTALL(
FILES ${${LIBRARY_NAME}_HEADERS}
DESTINATION ${${LIBRARY_NAME_BASE}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS}
- )
- IF(WIN32)
- INSTALL(
- TARGETS ${LIBRARY_NAME}
- DESTINATION bin)
- ELSE(WIN32)
- INSTALL(
+ )
+
+ INSTALL(
TARGETS ${LIBRARY_NAME}
- DESTINATION lib)
- ENDIF(WIN32)
-
-
-
+ DESTINATION ${CMAKE_CREA_LIB_PATH}
+ )
+
#---------------------------------------------------------------------------
ENDIF ( BUILD_${LIBRARY_NAME} )
FILES ${${LIBRARY_NAME}_HEADERS}
DESTINATION ${${LIBRARY_NAME_BASE}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS}
)
- IF(WIN32)
- INSTALL(
- TARGETS ${LIBRARY_NAME}
- DESTINATION bin)
- ELSE(WIN32)
- INSTALL(
+
+ INSTALL(
TARGETS ${LIBRARY_NAME}
- DESTINATION lib)
- ENDIF(WIN32)
-
+ DESTINATION ${CMAKE_CREA_LIB_PATH}
+ )
#---------------------------------------------------------------------------
FILES ${${LIBRARY_NAME}_HEADERS}
DESTINATION ${${LIBRARY_NAME_BASE}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS}
)
- IF(WIN32)
- INSTALL(
- TARGETS ${LIBRARY_NAME}
- DESTINATION bin)
- ELSE(WIN32)
- INSTALL(
- TARGETS ${LIBRARY_NAME}
- DESTINATION lib)
- ENDIF(WIN32)
-
+
+ INSTALL(
+ TARGETS ${LIBRARY_NAME}
+ DESTINATION ${CMAKE_CREA_LIB_PATH}
+ )
#---------------------------------------------------------------------------