#734 Must hardcode all ERT filenames because the search with GLOB returns empty list when compiled for the first time in a new folder

This commit is contained in:
Magne Sjaastad 2016-06-02 13:55:27 +02:00
parent 5c9e8a8075
commit c69ffc2a3d

View File

@ -334,12 +334,22 @@ if (RESINSIGHT_PRIVATE_INSTALL)
################################################################################
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
file (GLOB ERT_SHARED_LIB_FILES
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libecl.so*
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libeclxx.so*
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libecl_well.so*
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libert_geometry.so*
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libert_util.so*
set(ERT_SHARED_LIB_FILES
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libecl.so
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libecl.so.2
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libecl.so.2.0
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libeclxx.so
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libeclxx.so.2
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libeclxx.so.2.0
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libecl_well.so
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libecl_well.so.2
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libecl_well.so.2.0
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libert_geometry.so
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libert_geometry.so.2
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libert_geometry.so.2.0
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libert_util.so
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libert_util.so.2
${CMAKE_BINARY_DIR}/ThirdParty/Ert/devel/lib64/libert_util.so.2.0
)
install(FILES ${ERT_SHARED_LIB_FILES} DESTINATION ${RESINSIGHT_FINAL_NAME} )