Skip to content

Commit

Permalink
Build a shared library instead of a static one.
Browse files Browse the repository at this point in the history
  • Loading branch information
poletti-marco committed Jun 21, 2014
1 parent 6104792 commit e161e6a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

add_library(fruit demangle_type_name.cpp unsafe_module.cpp)
add_library(fruit SHARED
demangle_type_name.cpp
unsafe_module.cpp)

install(TARGETS fruit
ARCHIVE DESTINATION lib/static)
LIBRARY DESTINATION lib)

0 comments on commit e161e6a

Please sign in to comment.