make it possible to static-link libslirp
This commit is contained in:
parent
ff69df2a15
commit
c32da212f1
|
@ -95,9 +95,9 @@ if (UNIX)
|
||||||
elseif (WIN32)
|
elseif (WIN32)
|
||||||
target_sources(melonDS PUBLIC "${CMAKE_SOURCE_DIR}/melon.rc")
|
target_sources(melonDS PUBLIC "${CMAKE_SOURCE_DIR}/melon.rc")
|
||||||
|
|
||||||
target_link_libraries(melonDS comctl32 d2d1 dwrite uxtheme ws2_32 iphlpapi gdi32 slirp.dll)
|
target_link_libraries(melonDS slirp comctl32 d2d1 dwrite uxtheme ws2_32 iphlpapi gdi32)
|
||||||
if (BUILD_STATIC)
|
if (BUILD_STATIC)
|
||||||
target_link_libraries(melonDS imm32 winmm version setupapi -static Qt5::Core Qt5::Gui Qt5::Widgets z zstd)
|
target_link_libraries(melonDS imm32 winmm version setupapi -static Qt5::Core Qt5::Gui Qt5::Widgets z zstd glib-2.0 intl iconv)
|
||||||
else()
|
else()
|
||||||
target_link_libraries(melonDS Qt5::Core Qt5::Gui Qt5::Widgets)
|
target_link_libraries(melonDS Qt5::Core Qt5::Gui Qt5::Widgets)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue