Skip to content

Commit

Permalink
Merge pull request #221 from sloretz/bump_cmake_cmp0048
Browse files Browse the repository at this point in the history
Use CMP0048 New behavior to suppress warning
  • Loading branch information
meyerj authored Feb 20, 2020
2 parents 7b4136d + 7063507 commit 4a9d5a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions orocos_kdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# Test CMake version
#
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
IF(POLICY CMP0048)
CMAKE_POLICY(SET CMP0048 NEW)
ENDIF()
#MARK_AS_ADVANCED( FORCE CMAKE_BACKWARDS_COMPATIBILITY )


Expand Down
3 changes: 3 additions & 0 deletions orocos_kinematics_dynamics/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
cmake_minimum_required(VERSION 2.8.3)
if(POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif()
project(orocos_kinematics_dynamics)
find_package(catkin REQUIRED)
catkin_metapackage()
3 changes: 3 additions & 0 deletions python_orocos_kdl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
cmake_minimum_required(VERSION 2.4.6)
if(POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif()

project(python_orocos_kdl)

Expand Down

0 comments on commit 4a9d5a1

Please sign in to comment.