Skip to content

Commit

Permalink
Update CMakeLists
Browse files Browse the repository at this point in the history
  • Loading branch information
ipadjen committed Oct 4, 2024
1 parent 1f5b4ce commit 8db1d22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ set(CMAKE_BUILD_TYPE "Release")
# cmake_policy(SET CMP0003 NEW)
#endif()

if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()

if (MSVC)
add_definitions(-DNOMINMAX)
add_definitions("/EHsc")
Expand Down
3 changes: 3 additions & 0 deletions thirdparty/val3dity/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ endif(COMMAND cmake_policy)
cmake_minimum_required (VERSION 3.16)
project( val3dity )

if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()


add_definitions(-std=c++17)
Expand Down

0 comments on commit 8db1d22

Please sign in to comment.