From 0d14d25ef5e356a5d9526a7c55ab53beaca2a474 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Wed, 7 Aug 2013 16:06:05 +0200 Subject: [PATCH] Build system: make it work for modules which do not need libraries --- cmake/Modules/OpmLibMain.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/OpmLibMain.cmake b/cmake/Modules/OpmLibMain.cmake index ad2e4d5d..5dcf193d 100644 --- a/cmake/Modules/OpmLibMain.cmake +++ b/cmake/Modules/OpmLibMain.cmake @@ -91,7 +91,7 @@ find_and_append_package_list_to (${project} ${${project}_DEPS}) # remove the dependency on the testing framework from the main library; # 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 include (UseOnlyNeeded)