mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Link to zlib for pcbnew due to step
This commit is contained in:
parent
126914859a
commit
cedef5912e
@ -671,13 +671,6 @@ make_lexer(
|
|||||||
DSN
|
DSN
|
||||||
)
|
)
|
||||||
|
|
||||||
# CMake <3.9 can't link anything to object libraries,
|
|
||||||
# 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
|
||||||
@ -688,6 +681,7 @@ target_link_libraries( pcbnew_kiface_objects
|
|||||||
rectpack2d
|
rectpack2d
|
||||||
gzip-hpp
|
gzip-hpp
|
||||||
${EXTRA_LIB}
|
${EXTRA_LIB}
|
||||||
|
${ZLIB_LIBRARIES}
|
||||||
${OCC_LIBRARIES}
|
${OCC_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user