Skip to content

Commit

Permalink
try to fix cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
glyg committed Feb 14, 2024
1 parent 215c56b commit e00dd25
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ message(STATUS '${SKBUILD_PROJECT_NAME}')
set(CMAKE_VERBOSE_MAKEFILE ON)


if(SKBUILD)
set(Python_EXECUTABLE "${PYTHON_EXECUTABLE}")
set(Python_INCLUDE_DIR "${PYTHON_INCLUDE_DIR}")
set(Python_LIBRARY "${PYTHON_LIBRARY}")
endif()
set(Python_EXECUTABLE "${PYTHON_EXECUTABLE}")
set(Python_INCLUDE_DIR "${PYTHON_INCLUDE_DIR}")
set(Python_LIBRARY "${PYTHON_LIBRARY}")

find_package(Python COMPONENTS Interpreter Development.Module REQUIRED)

Expand Down

0 comments on commit e00dd25

Please sign in to comment.