mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 06:43:17 +00:00
cmake: unbundle half library (#1393)
This commit is contained in:
parent
ddc35639a8
commit
9814a1b788
3 changed files with 35 additions and 3 deletions
7
externals/CMakeLists.txt
vendored
7
externals/CMakeLists.txt
vendored
|
@ -142,8 +142,11 @@ if (WIN32)
|
|||
endif()
|
||||
|
||||
# half
|
||||
add_library(half INTERFACE)
|
||||
target_include_directories(half INTERFACE half/include)
|
||||
if (NOT TARGET half::half)
|
||||
add_library(half INTERFACE)
|
||||
target_include_directories(half INTERFACE half/include)
|
||||
add_library(half::half ALIAS half)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
# date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue