Skip to content

Commit

Permalink
Tune CMake options for python per build instructions feedback on gith…
Browse files Browse the repository at this point in the history
…ub (#3208)

* Tune CMake options for python per build instructions feedback on github

* Update CMakeLists.txt

Expand cmake comment per feedback on PR
  • Loading branch information
aymanhab authored May 23, 2022
1 parent 06d0d97 commit 29fd6bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ mark_as_advanced(OPENSIM_PYTHON_STANDALONE) # Mainly for packagers; not users.

option(OPENSIM_PYTHON_CONDA "Build specifically for Conda packaging
which implies NO C++ tests and no runtime as managed by Conda." OFF)
mark_as_advanced(OPENSIM_PYTHON_CONDA)

option(BUILD_API_ONLY "Build/install only headers, libraries,
wrapping, tests; not applications (opensim, ik, rra, etc.)." OFF)
Expand Down Expand Up @@ -549,6 +550,7 @@ endif()

if(${BUILD_PYTHON_WRAPPING})
set(required_python_version 3)
set(Python3_ROOT_DIR "" CACHE PATH "Top level directory containing Python3. For conda environments, this can also be set to the top level directory for a specific environment.")
find_package(Python3 3.6 REQUIRED COMPONENTS Interpreter Development NumPy)
message("Python3_FOUND:${Python3_FOUND}")
message("Python3_VERSION:${Python3_VERSION}")
Expand Down

0 comments on commit 29fd6bb

Please sign in to comment.