[nnfw-cmake] Rename NNFW_OVERLAY_DIR (#7848)
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 1 Oct 2019 02:01:31 +0000 (11:01 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Tue, 1 Oct 2019 02:01:31 +0000 (11:01 +0900)
Rename NNFW_OVERLAY_DIR to NNAS_OVERLAY_DIR  to share cmake package config with nnfw

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
infra/nnfw/CMakeLists.txt

index f01ca49..85b5e8d 100644 (file)
@@ -12,11 +12,11 @@ set(NNAS_EXTERNALS_DIR
   "${NNAS_PROJECT_SOURCE_DIR}/externals" CACHE
   INTERNAL "Where to download external dependencies"
 )
-set(NNFW_OVERLAY_DIR "${CMAKE_BINARY_DIR}/overlay" CACHE
+set(NNAS_OVERLAY_DIR "${CMAKE_BINARY_DIR}/overlay" CACHE
     INTERNAL "Where locally built external dependencies are installed")
 
 # This allows find_package to access configurations installed inside overlay
-list(APPEND CMAKE_PREFIX_PATH "${NNFW_OVERLAY_DIR}")
+list(APPEND CMAKE_PREFIX_PATH "${NNAS_OVERLAY_DIR}")
 
 macro(nnas_include PREFIX)
   include("${NNAS_PROJECT_SOURCE_DIR}/infra/cmake/modules/${PREFIX}.cmake")