Skip to content
Snippets Groups Projects
Commit 10a9fc51 authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Add CMake variable to choose Python version.

parent ca00692c
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,11 @@ ENDIF(APPLE) ...@@ -43,7 +43,11 @@ ENDIF(APPLE)
# {{{ C++ and Python client. # {{{ C++ and Python client.
# Dependencies # Dependencies
FINDPYTHON() IF(DEFINED PYTHON_DESIRED_VERSION)
FINDPYTHON(${PYTHON_DESIRED_VERSION} EXACT)
ELSE()
FINDPYTHON()
ENDIF()
ADD_REQUIRED_DEPENDENCY("omniORB4 >= 4.1.4") ADD_REQUIRED_DEPENDENCY("omniORB4 >= 4.1.4")
SET(${PROJECT_NAME}_HEADERS SET(${PROJECT_NAME}_HEADERS
......
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