Skip to content

Commit

Permalink
Fix cmake warning on policy CMP0135 (SoftFever#7247)
Browse files Browse the repository at this point in the history
  • Loading branch information
buzzhuzz authored Nov 11, 2024
1 parent 917a8fe commit 2e017a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ if (APPLE)

endif ()

if(POLICY CMP0135) # DOWNLOAD_EXTRACT_TIMESTAMP
cmake_policy(SET CMP0135 NEW)
endif()

project(OrcaSlicer-deps)

include(ExternalProject)
Expand All @@ -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)
Expand Down

0 comments on commit 2e017a7

Please sign in to comment.