Add check for cereal library in CMake

Fixes #3547, replaces #3613
This commit is contained in:
tamasmeszaros 2020-02-07 11:07:22 +01:00
parent a1c0a29af2
commit 2fb1acd74b
2 changed files with 27 additions and 2 deletions

View file

@ -392,8 +392,7 @@ if (NOT GLEW_FOUND)
endif ()
# Find the Cereal serialization library
add_library(cereal INTERFACE)
target_include_directories(cereal INTERFACE include)
find_package(cereal REQUIRED)
# l10n
set(L10N_DIR "${SLIC3R_RESOURCES_DIR}/localization")