mirror of
https://github.com/darlinghq/darling-libkqueue.git
synced 2024-11-26 21:20:38 +00:00
Change library type from STATIC to OBJECT
This commit is contained in:
parent
4141957dd9
commit
09bbf9653b
@ -99,7 +99,7 @@ endif (DARLING)
|
||||
|
||||
if(STATIC_KQUEUE)
|
||||
message("-- building libkqueue as static lib")
|
||||
add_library(kqueue STATIC ${SRC} ${INCL})
|
||||
add_library(kqueue OBJECT ${SRC} ${INCL})
|
||||
else()
|
||||
add_library(kqueue SHARED ${SRC} ${INCL})
|
||||
endif()
|
||||
@ -110,8 +110,6 @@ endif()
|
||||
if(NOT WIN32 AND NOT DARLING)
|
||||
set(LIB ${LIB} pthread)
|
||||
endif()
|
||||
target_link_libraries(kqueue ${LIB})
|
||||
set_target_properties(kqueue PROPERTIES DEBUG_POSTFIX "D")
|
||||
|
||||
#tests
|
||||
option(KQUEUE_TESTS "Enable to build tests for libkqueue" OFF)
|
||||
|
Loading…
Reference in New Issue
Block a user