diff --git a/engine/libraries/coll2d/CMakeLists.txt b/engine/libraries/coll2d/CMakeLists.txt index dba3743..548c17f 100644 --- a/engine/libraries/coll2d/CMakeLists.txt +++ b/engine/libraries/coll2d/CMakeLists.txt @@ -17,5 +17,5 @@ SET_TARGET_PROPERTIES ( ${PROJECT_EXECUTABLES} PROPERTIES SUBDIRS (tests) -ADD_LIBRARY ( coll2d STATIC ${COLL2D_SRCS} ) +ADD_LIBRARY ( coll2d SHARED ${COLL2D_SRCS} ) diff --git a/engine/libraries/mathlib/CMakeLists.txt b/engine/libraries/mathlib/CMakeLists.txt index f78b45d..724a06b 100644 --- a/engine/libraries/mathlib/CMakeLists.txt +++ b/engine/libraries/mathlib/CMakeLists.txt @@ -6,4 +6,4 @@ SET ( SRCS mathlib.cc main.cc ) -ADD_LIBRARY ( mathlib STATIC mathlib.cc mathlib.h) +ADD_LIBRARY ( mathlib SHARED mathlib.cc mathlib.h) diff --git a/engine/libraries/oglft/liboglft/CMakeLists.txt b/engine/libraries/oglft/liboglft/CMakeLists.txt index fb6d0ad..ef0805c 100644 --- a/engine/libraries/oglft/liboglft/CMakeLists.txt +++ b/engine/libraries/oglft/liboglft/CMakeLists.txt @@ -23,7 +23,7 @@ IF( WIN32 ) ADD_DEFINITIONS( -DOGLFT_BUILD ) ENDIF( WIN32 ) -ADD_LIBRARY( oglft STATIC ${sources} ) +ADD_LIBRARY( oglft SHARED ${sources} ) TARGET_LINK_LIBRARIES( oglft ${FREETYPE2_LIBRARIES}