mirror of https://github.com/oxen-io/oxen-mq.git
Build shared libraries by default
Static libraries are cursed and like to explode in bad ways.
This commit is contained in:
parent
e17ca30411
commit
1f99a70f48
|
@ -12,6 +12,10 @@ message(STATUS "lokimq v${LOKIMQ_VERSION}")
|
||||||
|
|
||||||
set(LOKIMQ_LIBVERSION 0)
|
set(LOKIMQ_LIBVERSION 0)
|
||||||
|
|
||||||
|
|
||||||
|
option(BUILD_SHARED_LIBS "Build shared libraries instead of static ones" ON)
|
||||||
|
|
||||||
|
|
||||||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
||||||
|
|
||||||
add_library(lokimq
|
add_library(lokimq
|
||||||
|
|
Loading…
Reference in New Issue