This is an initial pass, simply moving the existing logic as-is. Future PR's will attempt to refactor and improve the cmake stuff.
13 lines
411 B
CMake
13 lines
411 B
CMake
macro(SetupSwig)
|
|
# -------------------------------- Swig ----------------------------------
|
|
|
|
find_package(SWIG)
|
|
|
|
if (NOT SWIG_FOUND)
|
|
message("=====================================================\n"
|
|
"SWIG not found, will not build SWIG binding for pivy.\n"
|
|
"=====================================================\n")
|
|
endif(NOT SWIG_FOUND)
|
|
|
|
endmacro(SetupSwig)
|