diff options
author | supermerill <merill@free.fr> | 2022-01-19 02:59:04 +0300 |
---|---|---|
committer | supermerill <merill@free.fr> | 2022-01-19 03:12:51 +0300 |
commit | f18692fe70a2bb777d4a43638f1165769c6043bb (patch) | |
tree | f9e23e3fd7c4d32c4fe88343c58a78ae8dc50e6e /CMakeLists.txt | |
parent | bfd5ac9b6a7c23b16da9ae16235ac36a8d26a020 (diff) |
Fix compile on windows & linux
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eff7f9c9b..b4f5a3413 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -524,7 +524,7 @@ add_custom_target(gettext_po_to_mo WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} COMMENT "Generate localization po files (binary) from mo files (texts)" ) -file(GLOB L10N_PO_FILES "${L10N_DIR}/*/*.po") +file(GLOB L10N_PO_FILES "${L10N_DIR}/*/Slic3r.po") foreach(po_file ${L10N_PO_FILES}) GET_FILENAME_COMPONENT(po_dir "${po_file}" DIRECTORY) SET(mo_file "${po_dir}/${SLIC3R_APP_KEY}.mo") @@ -544,6 +544,9 @@ if(SLIC3R_STATIC) set(USE_BLOSC TRUE) endif () +if (APPLE) + find_package(zstd REQUIRED) +endif() find_package(OpenVDB 5.0 COMPONENTS openvdb) if(OpenVDB_FOUND) slic3r_remap_configs(IlmBase::Half RelWithDebInfo Release) |