Skip to content

Commit

Permalink
Fix #457, (unused) policy tag only in 3.13+ of cmake, no longer needed
Browse files Browse the repository at this point in the history
Signed-off-by: Kimball Thurston <[email protected]>
  • Loading branch information
kdt3rd committed Jul 20, 2019
1 parent 57e2a03 commit 0c0b228
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions IlmBase/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# "More Modern" CMake version
cmake_minimum_required(VERSION 3.12)

# this is for target_sources, new policy converts relative paths to absolute
cmake_policy(SET CMP0076 NEW)

# we include this first to parse configure.ac and extract the version
# numbers
include(config/ParseConfigure.cmake)
Expand Down
3 changes: 0 additions & 3 deletions PyIlmBase/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# "More Modern" CMake version
cmake_minimum_required(VERSION 3.12)

# this is for target_sources, new policy converts relative paths to absolute
cmake_policy(SET CMP0076 NEW)

# we include this first to parse configure.ac and extract the version
# numbers
include(config/ParseConfigure.cmake)
Expand Down

0 comments on commit 0c0b228

Please sign in to comment.