Fix order of install targets for macOS

This commit is contained in:
Jon Evans 2024-04-05 11:39:52 -04:00
parent 7baccba01c
commit c6e784dae3
1 changed files with 2 additions and 3 deletions

View File

@ -1133,6 +1133,7 @@ list( APPEND CMAKE_CTEST_ARGUMENTS "--output-on-failure" )
#================================================ #================================================
# Binaries ( CMake targets ) # Binaries ( CMake targets )
add_subdirectory( api )
add_subdirectory( resources ) add_subdirectory( resources )
add_subdirectory( thirdparty ) add_subdirectory( thirdparty )
add_subdirectory( libs ) add_subdirectory( libs )
@ -1147,7 +1148,7 @@ add_subdirectory( bitmap2component )
add_subdirectory( pcb_calculator ) add_subdirectory( pcb_calculator )
add_subdirectory( plugins ) # 3D plugins must be built before kicad add_subdirectory( plugins ) # 3D plugins must be built before kicad
add_subdirectory( cvpcb ) # must be after pcbnew add_subdirectory( cvpcb ) # must be after pcbnew
add_subdirectory( kicad ) # should follow pcbnew, eeschema add_subdirectory( kicad ) # should follow pcbnew, eeschema, api
add_subdirectory( tools ) add_subdirectory( tools )
add_subdirectory( utils ) add_subdirectory( utils )
@ -1165,8 +1166,6 @@ if( KICAD_BUILD_I18N )
add_subdirectory( translation ) add_subdirectory( translation )
endif() endif()
add_subdirectory( api )
if( APPLE ) if( APPLE )
set( KICAD_OSX_CODESIGN ON set( KICAD_OSX_CODESIGN ON
CACHE BOOL "Sign KiCad.app on macOS" FORCE ) CACHE BOOL "Sign KiCad.app on macOS" FORCE )