ENH: Cleanup example a bit
This commit is contained in:
parent
baee28ce9b
commit
b691517eeb
|
@ -1,10 +1,9 @@
|
|||
SET(language "tcl")
|
||||
SET(language "python")
|
||||
|
||||
|
||||
PROJECT(example_${language}_class)
|
||||
|
||||
FIND_PACKAGE(SWIG)
|
||||
IF(SWIG_FOUND)
|
||||
FIND_PACKAGE(SWIG REQUIRED)
|
||||
INCLUDE(${SWIG_USE_FILE})
|
||||
|
||||
IF(${language} MATCHES python)
|
||||
|
@ -48,4 +47,3 @@ IF(SWIG_FOUND)
|
|||
SWIG_ADD_MODULE(example "${language}"
|
||||
example.i example.cxx)
|
||||
SWIG_LINK_LIBRARIES(example ${SWIG_LANG_LIBRARIES})
|
||||
ENDIF(SWIG_FOUND)
|
||||
|
|
Loading…
Reference in New Issue