mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Build system: make it work for modules which do not need libraries
This commit is contained in:
parent
2ebfa92f4f
commit
a79fcc063a
@ -91,7 +91,7 @@ find_and_append_package_list_to (${project} ${${project}_DEPS})
|
|||||||
|
|
||||||
# remove the dependency on the testing framework from the main library;
|
# remove the dependency on the testing framework from the main library;
|
||||||
# it is not possible to query for Boost twice with different components.
|
# it is not possible to query for Boost twice with different components.
|
||||||
list (REMOVE_ITEM ${project}_LIBRARIES ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
|
list (REMOVE_ITEM "${project}_LIBRARIES" "${Boost_UNIT_TEST_FRAMEWORK_LIBRARY}")
|
||||||
|
|
||||||
# don't import more libraries than we need to
|
# don't import more libraries than we need to
|
||||||
include (UseOnlyNeeded)
|
include (UseOnlyNeeded)
|
||||||
|
Loading…
Reference in New Issue
Block a user