File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,12 +38,13 @@ endif()
3838find_package (glaze CONFIG )
3939if (TARGET glaze::glaze)
4040 add_executable (glaze-json glaze-json.cpp )
41+ target_compile_features (jwt-cpp-test PRIVATE cxx_std_23 )
4142 target_link_libraries (glaze-json glaze::glaze jwt-cpp::jwt-cpp )
4243endif ()
4344
44- find_package (reflectcpp CONFIG )
45+ find_package (reflectcpp-json CONFIG )
4546if (TARGET reflectcpp::reflectcpp)
46- add_executable (reflectcpp_json reflectcpp-json.cpp )
47- target_compile_features (reflectcpp_json PRIVATE cxx_std_20 )
48- target_link_libraries (reflectcpp_json jwt-cpp reflectcpp::reflectcpp )
47+ add_executable (reflectcpp-json reflectcpp-json.cpp )
48+ target_compile_features (reflectcpp-json PRIVATE cxx_std_20 )
49+ target_link_libraries (reflectcpp-json jwt-cpp reflectcpp::reflectcpp )
4950endif ()
Original file line number Diff line number Diff line change @@ -175,14 +175,13 @@ else()
175175 if (TARGET boost_json)
176176 target_link_libraries (jwt-cpp-test PRIVATE boost_json )
177177 endif ()
178+ if (TARGET jsoncpp_static)
179+ target_link_libraries (jwt-cpp-test PRIVATE jsoncpp_static )
180+ endif ()
178181 if (TARGET glaze::glaze)
179182 target_compile_features (jwt-cpp-test PRIVATE cxx_std_23 )
180183 target_link_libraries (jwt-cpp-test PRIVATE glaze::glaze )
181184 endif ()
182- if (TARGET jsoncpp_static)
183- target_link_libraries (jwt-cpp-test PRIVATE jsoncpp_static )
184- endif ()
185-
186185 if (TARGET reflectcpp::reflectcpp)
187186 target_compile_features (jwt-cpp-test PRIVATE cxx_std_20 )
188187 target_link_libraries (jwt-cpp-test PRIVATE reflectcpp::reflectcpp )
You can’t perform that action at this time.
0 commit comments