Link to zlib for pcbnew due to step
This commit is contained in:
parent
126914859a
commit
cedef5912e
|
@ -671,13 +671,6 @@ make_lexer(
|
|||
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
|
||||
PRIVATE
|
||||
common
|
||||
|
@ -688,6 +681,7 @@ target_link_libraries( pcbnew_kiface_objects
|
|||
rectpack2d
|
||||
gzip-hpp
|
||||
${EXTRA_LIB}
|
||||
${ZLIB_LIBRARIES}
|
||||
${OCC_LIBRARIES}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue