Skip to content

Commit

Permalink
BUG: Resolve CMP135 Warning
Browse files Browse the repository at this point in the history
Resolves CMake warning regarding CMP135 policy introduced in CMake 3.24
  • Loading branch information
tbirdso committed Jan 20, 2023
1 parent 343a9ef commit 981b099
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
@@ -1,6 +1,10 @@
cmake_minimum_required(VERSION 3.16.3)
project(SplitComponents)

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

# set(SplitComponents_LIBRARIES SplitComponents) # header-only module, so no libraries

if(NOT ITK_SOURCE_DIR)
Expand Down

0 comments on commit 981b099

Please sign in to comment.