Skip to content

Commit

Permalink
fix for cmake policy
Browse files Browse the repository at this point in the history
  • Loading branch information
kalwalt committed Oct 24, 2023
1 parent a68e18c commit 85e8497
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ project(Webarkit_tests)
# GoogleTest requires at least C++14
set(CMAKE_CXX_STANDARD 14)

cmake_policy(SET CMP0135 NEW)
if(POLICY CMP0135)
cmake_policy(SET CMP0026 NEW)
endif()

# Fetch googletest v1.13.0 commit b796f7d44681514f58a683a3a71ff17c94edb0c1
include(FetchContent)
Expand Down

0 comments on commit 85e8497

Please sign in to comment.