diff options
Diffstat (limited to 'loader/CMakeLists.txt')
-rw-r--r-- | loader/CMakeLists.txt | 5 |
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) |