ENH: Cleanup example a bit

This commit is contained in:
Andy Cedilnik 2004-05-03 17:51:06 -04:00
parent baee28ce9b
commit b691517eeb
1 changed files with 41 additions and 43 deletions

View File

@ -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)