mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Use namespaces to link against libcereal >= 1.3.1 (#1596)
0ffcfd8393
Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -503,6 +503,9 @@ find_package(glfw3 REQUIRED)
|
||||
|
||||
# Find the Cereal serialization library
|
||||
find_package(cereal REQUIRED)
|
||||
if (NOT TARGET cereal::cereal)
|
||||
add_library(cereal::cereal ALIAS cereal)
|
||||
endif ()
|
||||
|
||||
# l10n
|
||||
set(L10N_DIR "${SLIC3R_RESOURCES_DIR}/i18n")
|
||||
|
||||
Reference in New Issue
Block a user