Skip to content

Commit 4a9d5a1

Browse files
authored
Merge pull request #221 from sloretz/bump_cmake_cmp0048
Use CMP0048 New behavior to suppress warning
2 parents 7b4136d + 7063507 commit 4a9d5a1

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

orocos_kdl/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# Test CMake version
33
#
44
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
5+
IF(POLICY CMP0048)
6+
CMAKE_POLICY(SET CMP0048 NEW)
7+
ENDIF()
58
#MARK_AS_ADVANCED( FORCE CMAKE_BACKWARDS_COMPATIBILITY )
69

710

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
cmake_minimum_required(VERSION 2.8.3)
2+
if(POLICY CMP0048)
3+
cmake_policy(SET CMP0048 NEW)
4+
endif()
25
project(orocos_kinematics_dynamics)
36
find_package(catkin REQUIRED)
47
catkin_metapackage()

python_orocos_kdl/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
cmake_minimum_required(VERSION 2.4.6)
2+
if(POLICY CMP0048)
3+
cmake_policy(SET CMP0048 NEW)
4+
endif()
25

36
project(python_orocos_kdl)
47

0 commit comments

Comments
 (0)