mirror of https://github.com/AxioDL/metaforce.git
Link zlib on non-Windows platforms
This commit is contained in:
parent
af64349044
commit
61dbc1628e
|
@ -13,6 +13,9 @@ list(REMOVE_ITEM QUAZIP_SRCS
|
||||||
)
|
)
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
set_source_files_properties(${QUAZIP_SRCS} PROPERTIES COMPILE_OPTIONS -Wno-deprecated-declarations)
|
set_source_files_properties(${QUAZIP_SRCS} PROPERTIES COMPILE_OPTIONS -Wno-deprecated-declarations)
|
||||||
|
set(QUAZIP_LIBS ${ZLIB_LIBRARIES})
|
||||||
|
else()
|
||||||
|
set(QUAZIP_LIBS "")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_executable(hecl-gui WIN32 MACOSX_BUNDLE
|
add_executable(hecl-gui WIN32 MACOSX_BUNDLE
|
||||||
|
@ -79,6 +82,7 @@ target_link_libraries(hecl-gui PRIVATE
|
||||||
|
|
||||||
hecl-light
|
hecl-light
|
||||||
zeus
|
zeus
|
||||||
|
${QUAZIP_LIBS}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(hecl-gui PRIVATE quazip/quazip)
|
target_include_directories(hecl-gui PRIVATE quazip/quazip)
|
||||||
|
|
Loading…
Reference in New Issue