From c6e784dae3c85b79ecd3f9b8ab6fd6c918ebf423 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Fri, 5 Apr 2024 11:39:52 -0400 Subject: [PATCH] Fix order of install targets for macOS --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dbd4086833..7465b19c22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1133,6 +1133,7 @@ list( APPEND CMAKE_CTEST_ARGUMENTS "--output-on-failure" ) #================================================ # Binaries ( CMake targets ) +add_subdirectory( api ) add_subdirectory( resources ) add_subdirectory( thirdparty ) add_subdirectory( libs ) @@ -1147,7 +1148,7 @@ add_subdirectory( bitmap2component ) add_subdirectory( pcb_calculator ) add_subdirectory( plugins ) # 3D plugins must be built before kicad 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( utils ) @@ -1165,8 +1166,6 @@ if( KICAD_BUILD_I18N ) add_subdirectory( translation ) endif() -add_subdirectory( api ) - if( APPLE ) set( KICAD_OSX_CODESIGN ON CACHE BOOL "Sign KiCad.app on macOS" FORCE )