Skip to content

Commit

Permalink
Fix vendored FindPython3 to work in an external project
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Nov 18, 2020
1 parent f743094 commit 4995211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindPython/Support.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2980,7 +2980,7 @@ foreach (_${_PYTHON_PREFIX}_COMPONENT IN ITEMS Interpreter Compiler Development
endif()
endforeach()

include (${CMAKE_CURRENT_LIST_DIR}/../FindPackageHandleStandardArgs.cmake)
include (FindPackageHandleStandardArgs)
find_package_handle_standard_args (${_PYTHON_PREFIX}
REQUIRED_VARS ${_${_PYTHON_PREFIX}_REQUIRED_VARS}
VERSION_VAR ${_PYTHON_PREFIX}_VERSION
Expand Down

0 comments on commit 4995211

Please sign in to comment.