[cig-commits] [commit] master: Add note about SWIG-python (c45befd)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Sat Sep 6 18:10:09 PDT 2014


Repository : https://github.com/geodynamics/vc

On branch  : master
Link       : https://github.com/geodynamics/vc/compare/f1609021246ebdd14b3c943f36ecfa5bc49d5691...290787dea3d3c04f5299b765cd20263898a787a5

>---------------------------------------------------------------

commit c45befdd95fee4e815ac506fb9b380a28983b927
Author: Eric Heien <eheien at Blast-ThickNeck.local>
Date:   Fri Sep 5 16:47:32 2014 -0700

    Add note about SWIG-python


>---------------------------------------------------------------

c45befdd95fee4e815ac506fb9b380a28983b927
 quakelib/python/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/quakelib/python/CMakeLists.txt b/quakelib/python/CMakeLists.txt
index 2a978cd..82c59b5 100644
--- a/quakelib/python/CMakeLists.txt
+++ b/quakelib/python/CMakeLists.txt
@@ -1,6 +1,8 @@
 SET(CMAKE_SWIG_FLAGS "-I${QUAKELIB_SOURCE_DIR}")
 
 # If we have SWIG, run the .i files through it
+# NOTE: this will error out during CMake if the user has SWIG but not SWIG Python installed
+# NOTE: I'm not sure how to fix this
 if(PYTHONLIBS_FOUND AND SWIG_FOUND)
     SET_SOURCE_FILES_PROPERTIES(quakelib.i PROPERTIES CPLUSPLUS ON)
     #SET_SOURCE_FILES_PROPERTIES(quakelib.i PROPERTIES SWIG_FLAGS "-includeall")



More information about the CIG-COMMITS mailing list