mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 05:42:33 +00:00
Silence CMake configure warnings
Remove DEPENDS/empty-COMMAND args that are invalid in the add_custom_command(TARGET) form (CMP0175), fix the FindDraco.cmake case mismatch, and opt Boost lookup into upstream BoostConfig via CMP0167 for the OpenVDB module and the CGAL find.
This commit is contained in:
@@ -128,6 +128,10 @@ cmake_minimum_required(VERSION 3.13)
|
||||
if(POLICY CMP0074)
|
||||
cmake_policy(SET CMP0074 NEW)
|
||||
endif()
|
||||
# Re-set after cmake_minimum_required above cleared it; use BoostConfig, not the removed FindBoost.
|
||||
if(POLICY CMP0167)
|
||||
cmake_policy(SET CMP0167 NEW)
|
||||
endif()
|
||||
|
||||
if(OpenVDB_FIND_QUIETLY)
|
||||
set (_quiet "QUIET")
|
||||
|
||||
Reference in New Issue
Block a user