Always add ecl target to ecl_LIBRARIES.

Otherwise the flow binary does not know the correct
path to libecl in some situations.
This commit is contained in:
Markus Blatt
2018-03-02 22:13:56 +01:00
parent c63ab13a89
commit 0e25c9f2e9

View File

@@ -167,7 +167,7 @@ macro (find_and_append_package_to prefix name)
get_target_property(ecl_INCLUDE_DIRS ecl INTERFACE_INCLUDE_DIRECTORIES)
get_target_property(ecl_LIBRARIES ecl INTERFACE_LINK_LIBRARIES)
get_target_property(ecl_lib ecl LOCATION)
set(ecl_LIBRARIES ${ecl_lib} ${ecl_LIBRARIES})
set(ecl_LIBRARIES ecl ${ecl_lib} ${ecl_LIBRARIES})
set(ecl_FOUND 1)
set(HAVE_ERT 1)
endif()