mirror of
https://github.com/charlesthobe/chdman.git
synced 2024-11-24 07:25:31 +00:00
platform specific linking
from genie.lua
This commit is contained in:
parent
3068ce1e68
commit
50fd07efdc
@ -52,5 +52,21 @@ target_compile_definitions(chdman PRIVATE
|
|||||||
BARE_VCS_REVISION="${vcs_revision}"
|
BARE_VCS_REVISION="${vcs_revision}"
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(chdman PRIVATE utils expat 7z ocore_sdl zlib flac utf8proc
|
target_link_libraries(chdman PRIVATE utils expat 7z ocore_sdl zlib flac utf8proc)
|
||||||
dl m pthread util)
|
|
||||||
|
if(UNIX)
|
||||||
|
target_link_libraries(chdman PRIVATE pthread util)
|
||||||
|
elseif(WIN32)
|
||||||
|
target_link_libraries(chdman PRIVATE
|
||||||
|
user32
|
||||||
|
winmm
|
||||||
|
advapi32
|
||||||
|
shlwapi
|
||||||
|
wsock32
|
||||||
|
ws2_32
|
||||||
|
psapi
|
||||||
|
iphlpapi
|
||||||
|
shell32
|
||||||
|
userenv
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user