Skip to content

Commit

Permalink
cmake: make sure Python bindings can be built
Browse files Browse the repository at this point in the history
  • Loading branch information
schneider42 committed Feb 1, 2022
1 parent 01494d7 commit 0901944
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions swig/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ endif(NOT iridium_sources)
########################################################################
# Include swig generation macros
########################################################################
find_package(SWIG)
find_package(PythonLibs)
if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND)
return()
endif()
find_package(SWIG REQUIRED)
find_package(PythonLibs REQUIRED)
include(GrSwig)
include(GrPython)

Expand Down

0 comments on commit 0901944

Please sign in to comment.