From c65e6604351df75cd52e4af247a7fd7f0ddcb4b4 Mon Sep 17 00:00:00 2001 From: MeanSquaredError <35379301+MeanSquaredError@users.noreply.github.com> Date: Fri, 15 Sep 2023 07:41:58 +0300 Subject: [PATCH] Fix handling of "-DSQLPP11_TESTS_CXX_STD=..." in tests/core/serialize/CMakeLists.txt (#525) --- tests/core/serialize/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/core/serialize/CMakeLists.txt b/tests/core/serialize/CMakeLists.txt index e3c6da92..74280aa8 100644 --- a/tests/core/serialize/CMakeLists.txt +++ b/tests/core/serialize/CMakeLists.txt @@ -58,9 +58,9 @@ target_link_libraries(sqlpp11_core_serialize PRIVATE sqlpp11::sqlpp11 sqlpp11_te # conditionally bump to a higher C++ standard to test compatibility if (SQLPP11_TESTS_CXX_STD) - set_property(TARGET sqlpp11_test_serializer PROPERTY CXX_STANDARD ${SQLPP11_TESTS_CXX_STD}) - set_property(TARGET sqlpp11_test_serializer PROPERTY CXX_STANDARD_REQUIRED yes) - set_property(TARGET sqlpp11_test_serializer PROPERTY CXX_EXTENSIONS no) + set_property(TARGET sqlpp11_core_serialize PROPERTY CXX_STANDARD ${SQLPP11_TESTS_CXX_STD}) + set_property(TARGET sqlpp11_core_serialize PROPERTY CXX_STANDARD_REQUIRED yes) + set_property(TARGET sqlpp11_core_serialize PROPERTY CXX_EXTENSIONS no) endif() foreach(test_file IN LISTS test_files)