diff --git a/3d-viewer/CMakeLists.txt b/3d-viewer/CMakeLists.txt index dd37cf913a..f226aff2c1 100644 --- a/3d-viewer/CMakeLists.txt +++ b/3d-viewer/CMakeLists.txt @@ -33,3 +33,4 @@ set(3D-VIEWER_SRCS ) add_library(3d-viewer STATIC ${3D-VIEWER_SRCS}) +add_dependencies( 3d-viewer pcbcommon ) diff --git a/pcbnew/pcad2kicadpcb_plugin/CMakeLists.txt b/pcbnew/pcad2kicadpcb_plugin/CMakeLists.txt index 84d7a27b2d..11e60de223 100644 --- a/pcbnew/pcad2kicadpcb_plugin/CMakeLists.txt +++ b/pcbnew/pcad2kicadpcb_plugin/CMakeLists.txt @@ -29,5 +29,4 @@ set( PCAD2PCBNEW_SRCS ) add_library( pcad2kicadpcb STATIC ${PCAD2PCBNEW_SRCS} ) -add_dependencies( pcad2kicadpcb lib-dependencies ) - +add_dependencies( pcad2kicadpcb pcbcommon )