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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user