Skip to content

Commit

Permalink
Merge pull request #947 from jhlegarreta/FixExtractTimestampCMakePoli…
Browse files Browse the repository at this point in the history
…cyWarnings2

build(cmake): set `cmp0135` cmake policy to `new`
  • Loading branch information
thewtex authored Sep 19, 2023
2 parents be78688 + 9aa6f7d commit 94082ee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ project(WebAssemblyInterface)

set(CMAKE_CXX_STANDARD 17)

if(${CMAKE_VERSION} VERSION_LESS 3.24)
set(download_extract_timestamp_flag)
else()
set(download_extract_timestamp_flag DOWNLOAD_EXTRACT_TIMESTAMP TRUE)
if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()

set(WebAssemblyInterface_LIBRARIES WebAssemblyInterface)
Expand Down

0 comments on commit 94082ee

Please sign in to comment.