#3235 Applied patch install-ert to new ecllib

This commit is contained in:
Bjørn Erik Jensen committed 2018-08-22 14:16:44 +02:00
1 parent f45bc098d1
commit a4d9212372
2 files changed
+6 -2

No files matched your search

+4 -1
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)
+2 -1
View File
@@ -203,7 +203,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}
@@ -228,6 +228,7 @@ if (ERT_BUILD_CXX)
PATTERN *.hpp
)
endif ()
endif()
if (NOT BUILD_TESTS)
return ()