Skip to content

Commit

Permalink
Revert "fix: avoid 'not found' warning if libs are not found (scikit-…
Browse files Browse the repository at this point in the history
…build#960)" (scikit-build#964)

This reverts commit 8ee16a0.
  • Loading branch information
henryiii authored May 1, 2023
1 parent ef079e0 commit 443b936
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions skbuild/resources/cmake/FindPythonExtensions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,7 @@
#=============================================================================

find_package(PythonInterp REQUIRED)
# Only fill out libs if the Python libs were found by scikit-build
if(PYTHON_LIBRARY)
find_package(PythonLibs)
endif()
find_package(PythonLibs)
include(targetLinkLibrariesWithDynamicLookup)

set(_command "
Expand Down

0 comments on commit 443b936

Please sign in to comment.