mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
CMakeLists: Link in zlib privately where applicable
Also, use the target name introduced via find_package(ZLIB) instead of hardcoding the 'z' name in the link libraries.
This commit is contained in:
@ -288,11 +288,11 @@ PUBLIC
|
||||
videonull
|
||||
videoogl
|
||||
videosoftware
|
||||
z
|
||||
|
||||
PRIVATE
|
||||
bdisasm
|
||||
${LZO}
|
||||
ZLIB::ZLIB
|
||||
)
|
||||
|
||||
if (APPLE)
|
||||
|
@ -21,3 +21,8 @@ add_library(discio
|
||||
WiiSaveBanner.cpp
|
||||
WiiWad.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(discio
|
||||
PRIVATE
|
||||
ZLIB::ZLIB
|
||||
)
|
||||
|
Reference in New Issue
Block a user