update cmake modules

This commit is contained in:
Bastian Bloessl
2018-10-04 10:10:45 +02:00
parent f956d36ce4
commit b8b91a0c88
9 changed files with 46 additions and 257 deletions
+1 -6
View File
@@ -19,13 +19,8 @@
# Include swig generation macros
########################################################################
find_package(SWIG)
find_package(PythonLibs 2)
if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND)
message(FATAL_ERROR "Python or Swig not found (or version not supported).")
return()
endif()
include(GrSwig)
include(GrPython)
include(GrSwig)
set(GR_SWIG_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/../include/