Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-rbprm-corba
Commits
8d158892
Commit
8d158892
authored
Jul 24, 2019
by
Joseph Mirabel
Browse files
Add CMake variable to choose Python version.
parent
c1a9afbc
Changes
2
Show whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
8d158892
...
...
@@ -45,6 +45,12 @@ IF (HPP_DEBUG)
SET
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-DHPP_DEBUG"
)
ENDIF
()
# search for python
IF
(
NOT DEFINED PYTHON_DESIRED_VERSION
)
SET
(
PYTHON_DESIRED_VERSION 2.7
)
ENDIF
()
FINDPYTHON
(
${
PYTHON_DESIRED_VERSION
}
EXACT
)
ADD_DOC_DEPENDENCY
(
"hpp-core >= 4.3"
)
ADD_REQUIRED_DEPENDENCY
(
"hpp-corbaserver >= 4.3"
)
ADD_REQUIRED_DEPENDENCY
(
"hpp-rbprm >= 4.3"
)
...
...
src/CMakeLists.txt
View file @
8d158892
...
...
@@ -24,9 +24,6 @@ OMNIIDL_INCLUDE_DIRECTORIES(
${
HPP_CORBASERVER_DATAROOTDIR
}
/idl
${
CMAKE_SOURCE_DIR
}
/idl
)
# search for python
FINDPYTHON
(
2.7 EXACT REQUIRED
)
INCLUDE_DIRECTORIES
(
${
CMAKE_BINARY_DIR
}
/src
)
FILE
(
MAKE_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
/hpp/corbaserver/rbprm
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment