mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-04 00:26:09 +00: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:
parent
9d7009796c
commit
b256f873ca
3 changed files with 7 additions and 1 deletions
|
@ -21,3 +21,8 @@ add_library(discio
|
|||
WiiSaveBanner.cpp
|
||||
WiiWad.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(discio
|
||||
PRIVATE
|
||||
ZLIB::ZLIB
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue