Skip to content

Commit

Permalink
Replace deprecated find_package for python
Browse files Browse the repository at this point in the history
  • Loading branch information
mborland committed Dec 12, 2023
1 parent a29729e commit 4bbdfcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the Boost Software License, Version 1.0.
# See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt

find_package(PythonInterp)
find_package(Python3)
if (PYTHONINTERP_FOUND)
# checks that b2 and cmake are in sync
add_test(NAME runpy-${PROJECT_NAME}_check_build_system COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/check_build_system.py)
Expand Down Expand Up @@ -152,4 +152,4 @@ if (NOT(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERS

endif()

endif()
endif()

0 comments on commit 4bbdfcb

Please sign in to comment.