summaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2023-08-25 11:52:28 -0600
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2023-08-25 12:11:36 -0600
commit5c15f9d804f3676d83f7520937b4a278dfcdb8c9 (patch)
treefa43ae655f0dda17485935f3a11ee3e0043955e8 /loader
parent2896ff0b607576d174ac294d9c67b4468dcf3f7b (diff)
downloadVulkan-Loader-5c15f9d804f3676d83f7520937b4a278dfcdb8c9.tar.gz
Vulkan-Loader-5c15f9d804f3676d83f7520937b4a278dfcdb8c9.tar.bz2
Vulkan-Loader-5c15f9d804f3676d83f7520937b4a278dfcdb8c9.zip
cmake: Cleanup Threads::Threads logic
Android isn't supported
Diffstat (limited to 'loader')
-rw-r--r--loader/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index 394ce220..e79f3830 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -324,10 +324,7 @@ else()
set_target_properties(vulkan
PROPERTIES SOVERSION "1"
VERSION ${VULKAN_LOADER_VERSION})
- target_link_libraries(vulkan PRIVATE ${CMAKE_DL_LIBS} m)
- if (NOT ANDROID)
- target_link_libraries(vulkan PRIVATE Threads::Threads)
- endif()
+ target_link_libraries(vulkan PRIVATE ${CMAKE_DL_LIBS} m Threads::Threads)
if (LOADER_ENABLE_ADDRESS_SANITIZER)
target_compile_options(vulkan PUBLIC -fsanitize=address)