Skip to content

Commit

Permalink
CMake: fix cereal link
Browse files Browse the repository at this point in the history
  • Loading branch information
nim65s committed Aug 30, 2024
1 parent 72f8c3b commit 8305864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ add_test_cflags(
"-DTEST_SERIALIZATION_FOLDER=\\\\\"${CMAKE_CURRENT_BINARY_DIR}/serialization-data\\\\\""
)
if(cereal_FOUND)
target_link_libraries(${PROJECT_NAME}-test-cpp-serialization PRIVATE cereal)
target_link_libraries(${PROJECT_NAME}-test-cpp-serialization PRIVATE cereal::cereal)
else()
target_include_directories(
${PROJECT_NAME}-test-cpp-serialization SYSTEM
Expand Down

0 comments on commit 8305864

Please sign in to comment.