Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/vulkan-sdk-1.3.275' into ubunt…
Browse files Browse the repository at this point in the history
…u/jammy-unstable
  • Loading branch information
johnzupin committed Jan 15, 2024
2 parents 0b10a54 + 00893b9 commit 93f48f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions loader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ else()
if(HAVE_ALLOCA_H)
target_compile_definitions(loader_specific_options INTERFACE HAVE_ALLOCA_H)
endif()

set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
endif()

set(NORMAL_LOADER_SRCS
Expand Down Expand Up @@ -381,9 +384,6 @@ else()
VERSION "${VULKAN_LOADER_VERSION}"
)

set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)

target_link_libraries(vulkan PRIVATE ${CMAKE_DL_LIBS} m Threads::Threads)

set_target_properties(vulkan PROPERTIES OUTPUT_NAME ${API_TYPE})
Expand Down

0 comments on commit 93f48f9

Please sign in to comment.