mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Revert caf406943e3e3c2a6dd8be40aa98ec8e2ccd6b1c and don't install the kicad2step lib
This fixes https://gitlab.com/kicad/code/kicad/-/issues/9944 and reverts caf406943e3e3c2a6dd8be40aa98ec8e2ccd6b1c. The original fix caused issues with some CMake versions because it tried to give library dependencies to an object library, which can't have any library dependencies. Instead, we need it as a static library, and since there is no need to actually have it as an end-user library, it shouldn't be in the install command. Fixes https://gitlab.com/kicad/code/kicad/-/issues/9944
This commit is contained in:
parent
dc98419d85
commit
fb36e1b582
@ -19,7 +19,7 @@ set( KS2_LIB_FILES
|
||||
|
||||
# Break the library out for re-use by both kicad2step and any qa that needs it
|
||||
# In future, this could move for re-use by other programs needing s-expr support (?)
|
||||
add_library( kicad2step_lib OBJECT
|
||||
add_library( kicad2step_lib STATIC
|
||||
${KS2_LIB_FILES}
|
||||
)
|
||||
|
||||
@ -65,7 +65,7 @@ if( APPLE )
|
||||
RUNTIME_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_BIN_DIR}
|
||||
)
|
||||
else()
|
||||
install( TARGETS kicad2step_bin kicad2step_lib
|
||||
install( TARGETS kicad2step_bin
|
||||
RUNTIME DESTINATION ${KICAD_BIN}
|
||||
ARCHIVE DESTINATION ${KICAD_LIB}
|
||||
COMPONENT binary )
|
||||
|
Loading…
x
Reference in New Issue
Block a user