Skip to content

Commit

Permalink
Check Python QA dependencies on CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
igorauad committed Oct 3, 2023
1 parent db0ef43 commit 39e0b5a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,17 @@ endif(APPLE)
find_package(Doxygen)
find_package(Boost REQUIRED unit_test_framework)

########################################################################
# Find OOT test dependencies
########################################################################
execute_process(
COMMAND "${PYTHON_EXECUTABLE}" -c "import scipy"
RESULT_VARIABLE ret
OUTPUT_QUIET)
if(ret EQUAL "1")
message(FATAL_ERROR "Failed to find Python QA dependencies")
endif()

########################################################################
# PyBind11 Related
########################################################################
Expand Down

0 comments on commit 39e0b5a

Please sign in to comment.