|
@ -78,6 +78,14 @@ set(BIN_INSTALL_DIR lib/ CACHE PATH "Installation directory for executables") |
|
|
set(DEF_INSTALL_CMAKE_DIR "lib/CMake/storm") |
|
|
set(DEF_INSTALL_CMAKE_DIR "lib/CMake/storm") |
|
|
set(CMAKE_INSTALL_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files") |
|
|
set(CMAKE_INSTALL_DIR ${DEF_INSTALL_CMAKE_DIR} CACHE PATH "Installation directory for CMake files") |
|
|
|
|
|
|
|
|
|
|
|
# Add CMake install prefix |
|
|
|
|
|
foreach(p LIB BIN INCLUDE CMAKE) |
|
|
|
|
|
set(var ${p}_INSTALL_DIR) |
|
|
|
|
|
if(NOT IS_ABSOLUTE "${${var}}") |
|
|
|
|
|
set(${var} "${CMAKE_INSTALL_PREFIX}/${${var}}") |
|
|
|
|
|
endif() |
|
|
|
|
|
endforeach() |
|
|
|
|
|
|
|
|
message("CMAKE_INSTALL_DIR: ${CMAKE_INSTALL_DIR}") |
|
|
message("CMAKE_INSTALL_DIR: ${CMAKE_INSTALL_DIR}") |
|
|
|
|
|
|
|
|
# If the STORM_DEVELOPER option was turned on, by default we target a debug version, otherwise a release version. |
|
|
# If the STORM_DEVELOPER option was turned on, by default we target a debug version, otherwise a release version. |
|
@ -500,6 +508,8 @@ add_subdirectory(src) |
|
|
|
|
|
|
|
|
include(export) |
|
|
include(export) |
|
|
|
|
|
|
|
|
|
|
|
install(FILES ${CMAKE_BINARY_DIR}/stormConfig.install.cmake DESTINATION ${CMAKE_INSTALL_DIR} RENAME stormConfig.cmake) |
|
|
|
|
|
install(FILES ${CMAKE_BINARY_DIR}/stormConfigVersion.cmake DESTINATION ${CMAKE_INSTALL_DIR}) |
|
|
install(EXPORT storm_Targets FILE stormTargets.cmake DESTINATION ${CMAKE_INSTALL_DIR}) |
|
|
install(EXPORT storm_Targets FILE stormTargets.cmake DESTINATION ${CMAKE_INSTALL_DIR}) |
|
|
|
|
|
|
|
|
include(StormCPackConfig.cmake) |
|
|
include(StormCPackConfig.cmake) |