build: make callback header-only
This commit is contained in:
parent
4b65f3bb95
commit
8e1f89440e
1 changed files with 4 additions and 4 deletions
|
|
@ -1,14 +1,14 @@
|
|||
# callback/CMakeLists.txt
|
||||
|
||||
set(SELF_LIB callback)
|
||||
set(SELF_SRCS CallbackSet.cpp)
|
||||
#set(SELF_SRCS CallbackSet.cpp)
|
||||
|
||||
# reminder: can't be header-only library, because depends on non-header-only refcnt
|
||||
xo_add_shared_library(${SELF_LIB} ${PROJECT_VERSION} 1 ${SELF_SRCS})
|
||||
xo_add_headeronly_library(${SELF_LIB})
|
||||
xo_install_library3(${SELF_LIB} ${PROJECT_NAME}Targets)
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
# external dependencies:
|
||||
|
||||
xo_dependency(${SELF_LIB} refcnt)
|
||||
#xo_dependency(${SELF_LIB} refcnt)
|
||||
|
||||
# end CMakeLists.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue