mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4266 : libecl : Applied patch related to install
This commit is contained in:
5
ThirdParty/Ert/CMakeLists.txt
vendored
5
ThirdParty/Ert/CMakeLists.txt
vendored
@@ -346,6 +346,9 @@ if (ENABLE_PYTHON)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(EXPORT ecl-config DESTINATION share/cmake/ecl)
|
if (INSTALL_ERT)
|
||||||
|
install(EXPORT ecl-config DESTINATION share/cmake/ecl)
|
||||||
|
endif()
|
||||||
|
|
||||||
export(TARGETS ecl FILE eclConfig.cmake)
|
export(TARGETS ecl FILE eclConfig.cmake)
|
||||||
export(PACKAGE ecl)
|
export(PACKAGE ecl)
|
||||||
|
3
ThirdParty/Ert/lib/CMakeLists.txt
vendored
3
ThirdParty/Ert/lib/CMakeLists.txt
vendored
@@ -200,7 +200,7 @@ endif ()
|
|||||||
set_target_properties(ecl PROPERTIES
|
set_target_properties(ecl PROPERTIES
|
||||||
VERSION ${ECL_VERSION_MAJOR}.${ECL_VERSION_MINOR}
|
VERSION ${ECL_VERSION_MAJOR}.${ECL_VERSION_MINOR}
|
||||||
SOVERSION ${ECL_VERSION_MAJOR})
|
SOVERSION ${ECL_VERSION_MAJOR})
|
||||||
|
if (INSTALL_ERT)
|
||||||
install(TARGETS ecl
|
install(TARGETS ecl
|
||||||
EXPORT ecl-config
|
EXPORT ecl-config
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
@@ -212,6 +212,7 @@ install(DIRECTORY include/
|
|||||||
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
|
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
|
||||||
DESTINATION include
|
DESTINATION include
|
||||||
)
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
if (NOT BUILD_TESTS)
|
if (NOT BUILD_TESTS)
|
||||||
return ()
|
return ()
|
||||||
|
Reference in New Issue
Block a user