fix build error on Ubuntu and update deps

This commit is contained in:
SoftFever
2023-08-03 00:24:54 +08:00
parent 12195c722f
commit 79911ab188
4 changed files with 10 additions and 9 deletions

View File

@@ -503,6 +503,7 @@ find_package(glfw3 REQUIRED)
# Find the Cereal serialization library
find_package(cereal REQUIRED)
set_target_properties(cereal PROPERTIES IMPORTED_GLOBAL TRUE)
if (NOT TARGET cereal::cereal)
add_library(cereal::cereal ALIAS cereal)
endif ()