mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
Use namespaces to link against libcereal >= 1.3.1 (#1596)
0ffcfd8393
Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
parent
910d79ae6f
commit
df819b2778
4 changed files with 6 additions and 3 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue