mirror of
https://github.com/charlesthobe/chdman.git
synced 2024-11-24 07:25:31 +00:00
fix Windows linking (circular dependencies)
This commit is contained in:
parent
50fd07efdc
commit
bf0ef08b5b
@ -15,6 +15,7 @@ if(WIN32)
|
|||||||
add_compile_definitions(
|
add_compile_definitions(
|
||||||
X64_WINDOWS_ABI
|
X64_WINDOWS_ABI
|
||||||
CRLF=3
|
CRLF=3
|
||||||
|
OSD_WINDOWS
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
add_compile_definitions(
|
add_compile_definitions(
|
||||||
@ -57,6 +58,7 @@ target_link_libraries(chdman PRIVATE utils expat 7z ocore_sdl zlib flac utf8proc
|
|||||||
if(UNIX)
|
if(UNIX)
|
||||||
target_link_libraries(chdman PRIVATE pthread util)
|
target_link_libraries(chdman PRIVATE pthread util)
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
|
target_link_libraries(chdman PRIVATE utils) #circular dependency bs Windows only.
|
||||||
target_link_libraries(chdman PRIVATE
|
target_link_libraries(chdman PRIVATE
|
||||||
user32
|
user32
|
||||||
winmm
|
winmm
|
||||||
|
Loading…
Reference in New Issue
Block a user