Fix kicad-cli not being installed at all

This commit is contained in:
Mark Roszko 2022-10-20 18:20:27 +00:00
parent 0ae2a8483e
commit f9659a7e7c
1 changed files with 7 additions and 0 deletions

View File

@ -142,6 +142,13 @@ install( TARGETS kicad
COMPONENT binary COMPONENT binary
) )
if( NOT APPLE )
install( TARGETS kicad-cli
DESTINATION ${KICAD_BIN}
COMPONENT binary
)
endif()
if( KICAD_WIN32_INSTALL_PDBS ) if( KICAD_WIN32_INSTALL_PDBS )
# Get the PDBs to copy over for MSVC # Get the PDBs to copy over for MSVC
install(FILES $<TARGET_PDB_FILE:kicad> DESTINATION ${KICAD_BIN}) install(FILES $<TARGET_PDB_FILE:kicad> DESTINATION ${KICAD_BIN})