Skip to content

Commit c35e043

Browse files
committed
[CMake] sync submodule
1 parent cec91e3 commit c35e043

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Diff for: CMakeLists.txt

+6-7
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,17 @@
1414
# this file. If not, see
1515
# <http://www.gnu.org/licenses/>.
1616

17-
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
18-
INCLUDE(cmake/base.cmake)
19-
INCLUDE(cmake/hpp.cmake)
20-
INCLUDE(cmake/python.cmake)
17+
CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
2118

2219
SET(PROJECT_NAME hpp-environments)
2320
SET(PROJECT_DESCRIPTION "Environments for the humanoid path planner platform.")
2421
STRING(REPLACE "-" "_" ROS_PROJECT_NAME ${PROJECT_NAME})
2522

26-
SETUP_HPP_PROJECT()
23+
INCLUDE(cmake/hpp.cmake)
24+
INCLUDE(cmake/python.cmake)
25+
26+
COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
27+
PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
2728

2829
FINDPYTHON(REQUIRED)
2930

@@ -48,5 +49,3 @@ INSTALL(FILES package.xml
4849
DESTINATION "share/${ROS_PROJECT_NAME}")
4950

5051
ADD_SUBDIRECTORY(src)
51-
52-
SETUP_PROJECT_FINALIZE()

0 commit comments

Comments
 (0)