Permalink
Browse files

Had to force extlibs to STATIC

  • Loading branch information...
1 parent f3dd157 commit 78f23b985a1fb0e312207c5cd1df56c39645b8cf @drahosp drahosp committed Aug 1, 2012
@@ -19,5 +19,5 @@ set ( DBUG_SOURCES dbug.c factorial.c sanity.c )
if ( NOT SOURCE_SUBLIBS )
include_directories ( ${CMAKE_SOURCE_DIR}/include )
- add_library ( dbug ${DBUG_SOURCES} )
+ add_library ( dbug STATIC ${DBUG_SOURCES} )
endif ( NOT SOURCE_SUBLIBS )
@@ -31,5 +31,5 @@ set ( TAOCRYPT_SOURCES src/aes.cpp src/aestables.cpp src/algebra.cpp src/arc4.cp
set_source_files_properties ( ${TAOCRYPT_SOURCES} LANGUAGE C )
if ( NOT SOURCE_SUBLIBS )
- add_library ( taocrypt ${TAOCRYPT_SOURCES} )
+ add_library ( taocrypt STATIC ${TAOCRYPT_SOURCES} )
endif ( NOT SOURCE_SUBLIBS )
@@ -26,5 +26,5 @@ set ( ZLIB_SOURCES adler32.c compress.c crc32.c crc32.h deflate.c deflate.h gzio
infback.c inffast.c inffast.h inffixed.h inflate.c inflate.h inftrees.c inftrees.h
trees.c trees.h uncompr.c zconf.h zlib.h zutil.c zutil.h )
if ( NOT SOURCE_SUBLIBS )
- add_library ( zlib ${ZLIB_SOURCES} )
+ add_library ( zlib STATIC ${ZLIB_SOURCES} )
endif ( NOT SOURCE_SUBLIBS )
@@ -15,4 +15,4 @@
include_directories ( ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/zlib ${CMAKE_SOURCE_DIR}/sql
${CMAKE_SOURCE_DIR}/regex ${CMAKE_SOURCE_DIR}/extra/yassl/include )
-add_library ( mytap tap.c )
+add_library ( mytap STATIC tap.c )

0 comments on commit 78f23b9

Please sign in to comment.