Private
Public Access
2
0

cmake: if BUILDSWIG is OFF then disable SWIG items

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2015-06-18 19:38:14 +01:00
parent a44c5851cc
commit a06757b62b

View File

@@ -61,6 +61,12 @@ option (INSTALLGPIOTOOL "Install gpio tool" OFF)
option (BUILDARCH "Override architecture to build for - override" OFF) option (BUILDARCH "Override architecture to build for - override" OFF)
option (TESTS "Override the addition of tests" ON) option (TESTS "Override the addition of tests" ON)
if (NOT BUILDSWIG)
set (BUILDSWIGPYTHON OFF)
set (BUILDSWIGNODE OFF)
set (BUILDSWIGJAVA OFF)
endif()
if (NOT BUILDARCH) if (NOT BUILDARCH)
include (TargetArch) include (TargetArch)
target_architecture (DETECTED_ARCH) target_architecture (DETECTED_ARCH)