Skip to content

Commit

Permalink
Remove redundant target_link_libraries to work around BUILD_WITH_INST…
Browse files Browse the repository at this point in the history
…ALL_RPATH.
  • Loading branch information
PengZheng committed Jun 8, 2023
1 parent eccbb7f commit 514a71e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/framework/gtest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ set(CELIX_FRAMEWORK_TEST_SOURCES

add_executable(test_framework ${CELIX_FRAMEWORK_TEST_SOURCES})
# framework_cut makes error injector work
# Celix::framework makes bundles loadable (otherwise we need an copy of framework in each bundle, celix_bundle_private_libs)
target_link_libraries(test_framework PRIVATE framework_cut Celix::framework CURL::libcurl GTest::gtest GTest::gtest_main)
target_link_libraries(test_framework PRIVATE framework_cut CURL::libcurl GTest::gtest GTest::gtest_main)
celix_deprecated_framework_headers(test_framework)


Expand Down

0 comments on commit 514a71e

Please sign in to comment.