summaryrefslogtreecommitdiff
path: root/loader/CMakeLists.txt
diff options
context:
space:
mode:
authorXuelian Bai <xuelian.bai@samsung.com>2023-09-01 14:25:10 +0800
committerXuelian Bai <xuelian.bai@samsung.com>2024-01-30 13:40:46 +0800
commit5fb164a28aa5a1c85f93369a2fb8744d9238e5e5 (patch)
tree4b5105908c2cc4574c5ca222af88b542a68952d4 /loader/CMakeLists.txt
parent59b00a56b500a7f29afad5e59bc31e799e811de5 (diff)
downloadVulkan-Loader-tizen.tar.gz
Vulkan-Loader-tizen.tar.bz2
Vulkan-Loader-tizen.zip
1. Add dlog for Tizen 2. Fix memory leak issue for generic list Change-Id: Id1d95430af27e11bf76c83e3933475bf8eb6886d
Diffstat (limited to 'loader/CMakeLists.txt')
-rw-r--r--loader/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index c6366eef..7359177b 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -350,6 +350,11 @@ else()
PROPERTIES SOVERSION "1"
VERSION ${VULKAN_LOADER_VERSION})
target_link_libraries(vulkan PRIVATE ${CMAKE_DL_LIBS} m Threads::Threads)
+ option(TIZEN_PLATFORM "If build for Tizen platform")
+ if (TIZEN_PLATFORM)
+ add_definitions(-DTIZEN_PLATFORM)
+ target_link_libraries(vulkan PRIVATE dlog)
+ endif()
if (LOADER_ENABLE_ADDRESS_SANITIZER)
target_compile_options(vulkan PUBLIC -fsanitize=address)