Don't install the import library for the 3dsg library
No one on Windows should be linking to it outside of the build process, so there is no need for it in the installer Fixes https://gitlab.com/kicad/code/kicad/issues/1842
This commit is contained in:
parent
659c0ecfcc
commit
3bb44f3804
|
@ -95,8 +95,12 @@ target_compile_definitions( kicad_3dsg PRIVATE -DCOMPILE_SGLIB )
|
||||||
|
|
||||||
target_link_libraries( kicad_3dsg ${wxWidgets_LIBRARIES} )
|
target_link_libraries( kicad_3dsg ${wxWidgets_LIBRARIES} )
|
||||||
|
|
||||||
|
# Don't specify the ARCHIVE DESTINATION parameter to prevent
|
||||||
|
# the install of the import library on Windows
|
||||||
|
# https://cmake.org/pipermail/cmake/2011-November/047746.html
|
||||||
install( TARGETS
|
install( TARGETS
|
||||||
kicad_3dsg
|
kicad_3dsg
|
||||||
DESTINATION ${KICAD_LIB}
|
RUNTIME DESTINATION ${KICAD_LIB}
|
||||||
|
LIBRARY DESTINATION ${KICAD_LIB}
|
||||||
COMPONENT binary
|
COMPONENT binary
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue