Skip to content

Commit

Permalink
chore: Update CMakeLists.txt to set CMP0167 policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbriol committed Sep 12, 2024
1 parent c2cafe1 commit 0016c3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ if(POLICY CMP0077)
cmake_policy(SET CMP0077 NEW)
endif()

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

# On development machines, generate the version file. On other machines, ignore
# errors.
execute_process(COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/setup.py ERROR_QUIET)
Expand Down

0 comments on commit 0016c3f

Please sign in to comment.