diff options
| author | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-12-10 15:39:47 +0100 |
|---|---|---|
| committer | Tomáš Chvátal <scarabeus@gentoo.org> | 2009-12-10 15:39:47 +0100 |
| commit | cee6589f0dc39ffdbfe2c8faa1e8a0c40f848257 (patch) | |
| tree | d4513124eae88f70d1d3c3d7f1bfc27ccbee9614 /src/modules | |
| parent | 2e03fd8ca7952aa9299f24d6d7628f56d062e66e (diff) | |
Convert the shared modules to static ones.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/CMakeLists.txt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt index ad2dba7..7a9070f 100644 --- a/src/modules/CMakeLists.txt +++ b/src/modules/CMakeLists.txt @@ -3,8 +3,6 @@ ############################################################################### # LINKING ( for modules ) ############################################################################### -SET ( SONAME_VERSION "0" CACHE STRING "SONAME Version" ) -MARK_AS_ADVANCED ( SONAME_VERSION ) LINK_LIBRARIES ( ${CMAKE_DL_LIBS} ) ############################################################################### # SOURCE SPECIFICATION @@ -32,10 +30,6 @@ SET ( SRC_base_modules FILE ( GLOB _lib_files mod*.c ) FOREACH ( _current_LIB_FILE ${_lib_files} ) GET_FILENAME_COMPONENT( _lib ${_current_LIB_FILE} NAME_WE ) - ADD_LIBRARY ( ${_lib} SHARED ${SRC_base_modules} ${_current_LIB_FILE} ) - SET_TARGET_PROPERTIES (${_lib} PROPERTIES VERSION ${TUXANCI_VERSION} SOVERSION ${SONAME_VERSION}) - INSTALL ( TARGETS ${_lib} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/${APPNAME} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ) + ADD_LIBRARY ( ${_lib} STATIC ${SRC_base_modules} ${_current_LIB_FILE} ) ENDFOREACH ( _current_LIB_FILE ) ############################################################################### |