From b90d657cb85acea356d5884d02a8b1ea4bd00a9c Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Wed, 8 Feb 2012 09:06:06 -0600 Subject: [PATCH] fix bug 921553 --- 3d-viewer/CMakeLists.txt | 2 +- bitmaps_png/CMakeLists.txt | 2 +- bitmaps_xpm/CMakeLists.txt | 2 +- common/CMakeLists.txt | 4 ++-- polygon/CMakeLists.txt | 2 +- polygon/kbool/src/CMakeLists.txt | 2 +- potrace/CMakeLists.txt | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) 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})