Fix cmake warning on policy CMP0135 (#7247)
This commit is contained in:
parent
917a8fe477
commit
2e017a73cf
1 changed files with 4 additions and 4 deletions
8
deps/CMakeLists.txt
vendored
8
deps/CMakeLists.txt
vendored
|
@ -30,6 +30,10 @@ if (APPLE)
|
|||
|
||||
endif ()
|
||||
|
||||
if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
|
||||
cmake_policy(SET CMP0135 NEW)
|
||||
endif()
|
||||
|
||||
project(OrcaSlicer-deps)
|
||||
|
||||
include(ExternalProject)
|
||||
|
@ -56,10 +60,6 @@ endif ()
|
|||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
option(DEP_WX_GTK3 "Build wxWidgets against GTK3" OFF)
|
||||
else()
|
||||
if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
|
||||
cmake_policy(SET CMP0135 NEW)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(IS_CROSS_COMPILE FALSE)
|
||||
|
|
Loading…
Reference in a new issue