Imported Upstream version 1.19.0
[platform/core/ml/nnfw.git] / compiler / luci / partition / CMakeLists.txt
index eacbe1c..ec8e0b0 100644 (file)
@@ -2,11 +2,11 @@ file(GLOB_RECURSE SOURCES "src/*.cpp")
 file(GLOB_RECURSE TESTS "src/*.test.cpp")
 list(REMOVE_ITEM SOURCES ${TESTS})
 
-if (NOT LIBRARY_TYPE)
-  set(LIBRARY_TYPE "SHARED")
-endif(NOT LIBRARY_TYPE)
+if (NOT LUCI_LIBRARY_TYPE)
+  set(LUCI_LIBRARY_TYPE "SHARED")
+endif(NOT LUCI_LIBRARY_TYPE)
 
-add_library(luci_partition ${LIBRARY_TYPE} ${SOURCES})
+add_library(luci_partition ${LUCI_LIBRARY_TYPE} ${SOURCES})
 target_include_directories(luci_partition PRIVATE src)
 target_include_directories(luci_partition PUBLIC include)
 target_link_libraries(luci_partition PUBLIC luci_lang)