Skip to content

Commit

Permalink
COMP: Set CMake Policy 135 to NEW to suppress warnings in CMake 3.24
Browse files Browse the repository at this point in the history
  • Loading branch information
dzenanz committed Aug 17, 2022
1 parent b9005b8 commit e3d6c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ cmake_minimum_required(VERSION ${ITK_OLDEST_VALIDATED_POLICIES_VERSION}...${ITK_
# Now enumerate specific policies newer than ITK_NEWEST_VALIDATED_POLICIES_VERSION
# that may need to be individually set to NEW/OLD
#
foreach(pnew "CMP0120")
foreach(pnew "CMP0120" "CMP0135")
if(POLICY ${pnew})
cmake_policy(SET ${pnew} NEW)
endif()
Expand Down

0 comments on commit e3d6c94

Please sign in to comment.