Fixed cmake for non server settings
This commit is contained in:
parent
23a9385afe
commit
3d3ddd274e
@ -192,7 +192,10 @@ if (NOT WIN32)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_library(TeaSpeak STATIC ${SOURCE_FILES} ${HEADER_FILES})
|
add_library(TeaSpeak STATIC ${SOURCE_FILES} ${HEADER_FILES})
|
||||||
target_link_libraries(TeaSpeak PUBLIC CXXTerminal::static threadpool::static jsoncpp_lib)
|
target_link_libraries(TeaSpeak PUBLIC threadpool::static jsoncpp_lib)
|
||||||
|
if (TEASPEAK_SERVER)
|
||||||
|
target_link_libraries(TeaSpeak PUBLIC CXXTerminal::static)
|
||||||
|
endif ()
|
||||||
target_include_directories(TeaSpeak PUBLIC src/)
|
target_include_directories(TeaSpeak PUBLIC src/)
|
||||||
install(TARGETS TeaSpeak
|
install(TARGETS TeaSpeak
|
||||||
ARCHIVE DESTINATION lib
|
ARCHIVE DESTINATION lib
|
||||||
|
Loading…
Reference in New Issue
Block a user