diff --git a/3d-viewer/CMakeLists.txt b/3d-viewer/CMakeLists.txt index 8f1a0a5aa9..81d45213e0 100644 --- a/3d-viewer/CMakeLists.txt +++ b/3d-viewer/CMakeLists.txt @@ -19,4 +19,4 @@ set(3D-VIEWER_SRCS trackball.cpp ) -add_library(3d-viewer ${3D-VIEWER_SRCS}) +add_library(3d-viewer STATIC ${3D-VIEWER_SRCS}) diff --git a/bitmaps_png/CMakeLists.txt b/bitmaps_png/CMakeLists.txt index 8ea7380d7c..cd7d65b7b2 100644 --- a/bitmaps_png/CMakeLists.txt +++ b/bitmaps_png/CMakeLists.txt @@ -676,5 +676,5 @@ foreach( bmn ${BMAPS_BIG} ) endforeach() #add_library( bitmaps SHARED ${CPP_LIST} ) -add_library( bitmaps ${CPP_LIST} ) +add_library( bitmaps STATIC ${CPP_LIST} ) diff --git a/bitmaps_xpm/CMakeLists.txt b/bitmaps_xpm/CMakeLists.txt index 0982aa91bb..61795c0e9d 100644 --- a/bitmaps_xpm/CMakeLists.txt +++ b/bitmaps_xpm/CMakeLists.txt @@ -449,4 +449,4 @@ foreach(LOOP_VAR ${BITMAP_SRCS}) set_source_files_properties(${CPP_BITMAP} PROPERTIES COMPILE_FLAGS -DXPMMAIN) endforeach(LOOP_VAR) -add_library(bitmaps ${CPP_BITMAPS}) +add_library(bitmaps STATIC ${CPP_BITMAPS}) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index c7cd6a97f4..2585fd3ed6 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -77,7 +77,7 @@ set(COMMON_SRCS zoom.cpp ) -add_library(common ${COMMON_SRCS}) +add_library(common STATIC ${COMMON_SRCS}) set(PCB_COMMON_SRCS base_screen.cpp @@ -125,7 +125,7 @@ set_source_files_properties( ${PCB_COMMON_SRCS} PROPERTIES COMPILE_DEFINITIONS "PCBNEW" ) -add_library(pcbcommon ${PCB_COMMON_SRCS}) +add_library(pcbcommon STATIC ${PCB_COMMON_SRCS}) # auto-generate netlist_lexer.h and netlist_keywords.cpp diff --git a/polygon/CMakeLists.txt b/polygon/CMakeLists.txt index 2ba7f3c11b..77b08327d1 100644 --- a/polygon/CMakeLists.txt +++ b/polygon/CMakeLists.txt @@ -10,4 +10,4 @@ set(POLYGON_SRCS polygon_test_point_inside.cpp ) -add_library(polygon ${POLYGON_SRCS}) +add_library(polygon STATIC ${POLYGON_SRCS}) diff --git a/polygon/kbool/src/CMakeLists.txt b/polygon/kbool/src/CMakeLists.txt index d16b6a5095..5a8aa68175 100644 --- a/polygon/kbool/src/CMakeLists.txt +++ b/polygon/kbool/src/CMakeLists.txt @@ -18,4 +18,4 @@ set(KBOOL_SRCS record.cpp scanbeam.cpp) -add_library(kbool ${KBOOL_SRCS}) +add_library(kbool STATIC ${KBOOL_SRCS}) diff --git a/potrace/CMakeLists.txt b/potrace/CMakeLists.txt index 937f3b75d3..cf24adebac 100644 --- a/potrace/CMakeLists.txt +++ b/potrace/CMakeLists.txt @@ -13,4 +13,4 @@ set(POTRACE_SRCS trace.cpp ) -add_library(potrace ${POTRACE_SRCS}) +add_library(potrace STATIC ${POTRACE_SRCS})