We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 34f844f + d7a5420 commit f9c4e39Copy full SHA for f9c4e39
CMakeLists.txt
@@ -32,11 +32,14 @@ project(${PROJECT_NAME} ${PROJECT_ARGS})
32
list(APPEND PKG_CONFIG_ADDITIONAL_VARIABLES cmake_plugin)
33
34
# Dependencies
35
-findpython()
36
add_project_dependency("hpp-core" REQUIRED)
37
add_project_dependency("hpp-affordance" REQUIRED)
38
add_project_dependency("hpp-corbaserver" REQUIRED)
39
add_required_dependency("omniORB4 >= 4.1.4")
+# search for python
40
+if(NOT FINDPYTHON_ALREADY_CALLED)
41
+ findpython()
42
+endif()
43
44
# Make sure that python submodule is installed in the same prefix as module.
45
if(NOT ${HPP_CORBASERVER_PREFIX} STREQUAL ${CMAKE_INSTALL_PREFIX})
0 commit comments