update cmake modules
This commit is contained in:
+1
-6
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user