This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/swig/CMakeLists.txt

26 lines
569 B
CMake
Raw Normal View History

#CHECK: SWIG
2015-06-19 01:22:23 +01:00
macro_optional_find_package (SWIG ON)
macro_log_feature (SWIG_FOUND "Swig"
"Use SWIG Documentation System "
"http://www.swig.org" FALSE)
if (SWIG_FOUND)
#
# SWIG_FOUND - set to true if SWIG is found
# SWIG_DIR - the directory where swig is installed
# SWIG_EXECUTABLE - the path to the swig executable
# SWIG_VERSION - the version number of the swig executable
#
2015-08-07 22:57:53 +01:00
# This is a CMake example for Python and Java
2015-06-19 01:22:23 +01:00
INCLUDE(${SWIG_USE_FILE})
2015-08-07 22:57:53 +01:00
add_subdirectory(python)
2015-06-19 01:22:23 +01:00
2015-08-07 22:57:53 +01:00
add_subdirectory(java)
2015-06-19 01:22:23 +01:00
endif (SWIG_FOUND)