Imported Upstream version 1.19.0
[platform/core/ml/nnfw.git] / compiler / luci / log / CMakeLists.txt
index b64a065..bbd733f 100644 (file)
@@ -1,11 +1,11 @@
 # TODO Find how to test logging framework
 file(GLOB_RECURSE SOURCES "src/*.cpp")
 
-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_log ${LIBRARY_TYPE} ${SOURCES})
+add_library(luci_log ${LUCI_LIBRARY_TYPE} ${SOURCES})
 target_include_directories(luci_log PUBLIC include)
 target_link_libraries(luci_log PUBLIC hermes)
 target_link_libraries(luci_log PRIVATE hermes_std)