This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a commit to branch feature/error_injector_ergonomics
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to
refs/heads/feature/error_injector_ergonomics by this push:
new a690d48b Fixed unresolved symbol when linking
test_framework_with_cxx14.
a690d48b is described below
commit a690d48b93dd55833a750e0a978752d4e94de361
Author: PengZheng <[email protected]>
AuthorDate: Fri May 5 17:10:24 2023 +0800
Fixed unresolved symbol when linking test_framework_with_cxx14.
---
libs/framework/gtest/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/framework/gtest/CMakeLists.txt
b/libs/framework/gtest/CMakeLists.txt
index eca5c583..91cdd91c 100644
--- a/libs/framework/gtest/CMakeLists.txt
+++ b/libs/framework/gtest/CMakeLists.txt
@@ -153,7 +153,7 @@ if (ENABLE_TESTING_DEPENDENCY_MANAGER_FOR_CXX11)
add_executable(test_dep_man_with_cxx11
src/DependencyManagerTestSuite.cc
)
- target_link_libraries(test_dep_man_with_cxx11 PRIVATE Celix::framework
CURL::libcurl GTest::gtest GTest::gtest_main)
+ target_link_libraries(test_dep_man_with_cxx11 PRIVATE framework_cut
CURL::libcurl GTest::gtest GTest::gtest_main)
target_compile_definitions(test_dep_man_with_cxx11 PRIVATE
SIMPLE_CXX_DEP_MAN_BUNDLE_LOC="${SIMPLE_CXX_DEP_MAN_BUNDLE_LOC}"
)
@@ -172,7 +172,7 @@ if (ENABLE_TESTING_FOR_CXX14)
set(CMAKE_CXX_STANDARD 14)
add_executable(test_framework_with_cxx14 ${CELIX_FRAMEWORK_TEST_SOURCES})
- target_link_libraries(test_framework_with_cxx14 PRIVATE Celix::framework
CURL::libcurl GTest::gtest GTest::gtest_main)
+ target_link_libraries(test_framework_with_cxx14 PRIVATE framework_cut
CURL::libcurl GTest::gtest GTest::gtest_main)
celix_deprecated_utils_headers(test_framework_with_cxx14)
celix_deprecated_framework_headers(test_framework_with_cxx14)
add_celix_bundle_dependencies(test_framework_with_cxx14