Add missing lib (libz) in lib list to link on msys2
This commit is contained in:
parent
9c5fbdb040
commit
49ff3513e7
|
@ -673,6 +673,11 @@ make_lexer(
|
||||||
|
|
||||||
# CMake <3.9 can't link anything to object libraries,
|
# CMake <3.9 can't link anything to object libraries,
|
||||||
# but we only need include directories, as we will link the kiface MODULE
|
# but we only need include directories, as we will link the kiface MODULE
|
||||||
|
if( MINGW )
|
||||||
|
# at least on msys2, zlib must be added to gzip-hpp
|
||||||
|
set( EXTRA_LIB z )
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries( pcbnew_kiface_objects
|
target_link_libraries( pcbnew_kiface_objects
|
||||||
PRIVATE
|
PRIVATE
|
||||||
common
|
common
|
||||||
|
@ -682,6 +687,7 @@ target_link_libraries( pcbnew_kiface_objects
|
||||||
nlohmann_json
|
nlohmann_json
|
||||||
rectpack2d
|
rectpack2d
|
||||||
gzip-hpp
|
gzip-hpp
|
||||||
|
${EXTRA_LIB}
|
||||||
${OCC_LIBRARIES}
|
${OCC_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue