Skip to content
Snippets Groups Projects
Commit 75471dc6 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

CMake: conditionnal findpython() call

parent fb9425bb
No related branches found
No related tags found
No related merge requests found
......@@ -26,10 +26,12 @@ include(cmake/python.cmake)
compute_project_args(PROJECT_ARGS LANGUAGES CXX)
project(${PROJECT_NAME} ${PROJECT_ARGS})
findpython()
add_project_dependency("hpp-manipulation-corba" REQUIRED)
if(NOT FINDPYTHON_ALREADY_CALLED)
findpython()
endif()
add_subdirectory(src)
set(CATKIN_PACKAGE_SHARE_DESTINATION
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment