Skip to content

Commit

Permalink
[bindings/python] cmake : fix the bloody include dirs variable ??
Browse files Browse the repository at this point in the history
  • Loading branch information
ManifoldFR committed Aug 8, 2024
1 parent 68fc653 commit d4f3667
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions bindings/python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
if(UNIX)
set(PYTHON_COMPONENTS Development.Module)
endif()

include(${JRL_CMAKE_MODULES}/python.cmake)
include(${JRL_CMAKE_MODULES}/python-helpers.cmake)

findpython(REQUIRED Development.Module)
find_package(Python 3.7 COMPONENTS ${PYTHON_COMPONENTS})
set(Python_INCLUDE_DIRS ${PYTHON_INCLUDE_DIRS})

if(IS_ABSOLUTE ${PYTHON_SITELIB})
set(${PYWRAP}_INSTALL_DIR ${PYTHON_SITELIB}/${PROJECT_NAME})
Expand Down

0 comments on commit d4f3667

Please sign in to comment.