#3576 Apply patch install-ert.patch after upgrading ecllib

This commit is contained in:
Bjørn Erik Jensen 2018-10-30 13:30:44 +01:00
parent b51779c568
commit 5c95b5a605
2 changed files with 6 additions and 2 deletions

View File

@ -352,6 +352,9 @@ if (ENABLE_PYTHON)
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(PACKAGE ecl)

View File

@ -204,7 +204,7 @@ endif ()
set_target_properties(ecl PROPERTIES
VERSION ${ECL_VERSION_MAJOR}.${ECL_VERSION_MINOR}
SOVERSION ${ECL_VERSION_MAJOR})
if (INSTALL_ERT)
install(TARGETS ecl
EXPORT ecl-config
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
@ -229,6 +229,7 @@ if (ERT_BUILD_CXX)
PATTERN *.hpp
)
endif ()
endif()
if (NOT BUILD_TESTS)
return ()