Do NOT use quote in CMAKE_DEPENDENT_OPTIONS (#4692)
author박종현/On-Device Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Tue, 12 Mar 2019 09:37:39 +0000 (18:37 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 12 Mar 2019 09:37:39 +0000 (18:37 +0900)
This does not work as expected.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
CMakeLists.txt

index 5f31cc5..1d385f5 100644 (file)
@@ -57,7 +57,7 @@ option(BUILD_TENSORFLOW_LITE "Build TensorFlow Lite from the downloaded source"
 option(DOWNLOAD_ARMCOMPUTE "Download ARM Compute source" ON)
 CMAKE_DEPENDENT_OPTION(BUILD_ARMCOMPUTE "Build ARM Compute from the downloaded source"
                        # Enable ARMCompute build if the target architecture is arm
-                       ON "${TARGET_ARCH_BASE} STREQUAL \"arm\""
+                       ON "${TARGET_ARCH_BASE} STREQUAL arm"
                        # Disable ARMCompute build otherwise
                        OFF)
 option(DOWNLOAD_NONIUS "Download nonius source" ON)