mirror of
https://github.com/kakwa/uts-server
synced 2024-11-12 20:48:56 +01:00
adding link option for bundleling
This commit is contained in:
parent
be9924187b
commit
0aed40ca16
@ -40,7 +40,7 @@ if(BUNDLE_CIVETWEB)
|
||||
)
|
||||
set(LIBCIVETWEB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/vendor/usr/include")
|
||||
set(LIBCIVETWEB_LIBRARIES "${CMAKE_CURRENT_SOURCE_DIR}/vendor/usr/lib/libcivetweb.a")
|
||||
set (CMAKE_C_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -ldl -lpthread")
|
||||
set (CMAKE_C_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -ldl -lpthread -lrt")
|
||||
else(BUNDLE_CIVETWEB)
|
||||
find_package(libcivetweb REQUIRED)
|
||||
endif(BUNDLE_CIVETWEB)
|
||||
|
Loading…
Reference in New Issue
Block a user