Skip to content

Commit

Permalink
fixed name of static library
Browse files Browse the repository at this point in the history
  • Loading branch information
Neverlord committed Nov 4, 2012
1 parent afcfeff commit 7cbefed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Expand Up @@ -175,17 +175,18 @@ if (DISABLE_CONTEXT_SWITCHING)
endif ()

add_library(libcppa SHARED ${LIBCPPA_SRC})
add_library(libcppaStatic STATIC ${LIBCPPA_SRC})

set(LIBRARY_VERSION ${LIBCPPA_VERSION_MAJOR}.${LIBCPPA_VERSION_MINOR}.${LIBCPPA_VERSION_PATCH})
set(LIBRARY_SOVERSION ${LIBCPPA_VERSION_MAJOR})

set_target_properties(libcppa
PROPERTIES
SOVERSION ${LIBRARY_SOVERSION}
VERSION ${LIBRARY_VERSION}
OUTPUT_NAME cppa)

add_library(libcppaStatic STATIC ${LIBCPPA_SRC})
set_target_properties(libcppaStatic PROPERTIES OUTPUT_NAME cppa)

link_directories(${LD_DIRS})
include_directories(${INCLUDE_DIRS})
target_link_libraries(libcppa ${LD_FLAGS})
Expand Down

0 comments on commit 7cbefed

Please sign in to comment.