reenabled dynamic linking for linux build

main
martin 2010-12-02 10:46:27 +01:00
parent 1a30c7583c
commit b622be72e8
3 changed files with 3 additions and 3 deletions

View File

@ -17,5 +17,5 @@ SET_TARGET_PROPERTIES ( ${PROJECT_EXECUTABLES} PROPERTIES
SUBDIRS (tests) SUBDIRS (tests)
ADD_LIBRARY ( coll2d STATIC ${COLL2D_SRCS} ) ADD_LIBRARY ( coll2d SHARED ${COLL2D_SRCS} )

View File

@ -6,4 +6,4 @@ SET ( SRCS
mathlib.cc mathlib.cc
main.cc main.cc
) )
ADD_LIBRARY ( mathlib STATIC mathlib.cc mathlib.h) ADD_LIBRARY ( mathlib SHARED mathlib.cc mathlib.h)

View File

@ -23,7 +23,7 @@ IF( WIN32 )
ADD_DEFINITIONS( -DOGLFT_BUILD ) ADD_DEFINITIONS( -DOGLFT_BUILD )
ENDIF( WIN32 ) ENDIF( WIN32 )
ADD_LIBRARY( oglft STATIC ${sources} ) ADD_LIBRARY( oglft SHARED ${sources} )
TARGET_LINK_LIBRARIES( TARGET_LINK_LIBRARIES(
oglft oglft
${FREETYPE2_LIBRARIES} ${FREETYPE2_LIBRARIES}