- attempt to fix CI

This commit is contained in:
Dmytro Bogovych 2019-07-01 16:53:06 +03:00
parent ac17680e9a
commit 94d7471aec
2 changed files with 6 additions and 2 deletions

View File

@ -3,6 +3,6 @@ build_exe:
- mkdir -p build
- cd build
- git clone https://gitlab.com/dmytro.bogovych/libraries.git
- cmake -D PLATFORM_LIBS=libraries ../src
- cmake -D LIB_PLATFORM=libraries ../src
- cmake --build .

View File

@ -1,5 +1,9 @@
project (resiprocate)
if (NOT OPENSSL_INCLUDE)
message(FATAL_ERROR "OPENSSL_INCLUDE has to be directory with OpenSSL 1.0.x include files.")
endif()
# Rely on C++ 11
set (CMAKE_CXX_STANDARD 11)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
@ -311,7 +315,7 @@ add_library(resiprocate ${ARES_SOURCES} ${RUTIL_SOURCES} ${STACK_SOURCES} ${DUM_
target_include_directories(resiprocate PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/contrib/ares
/usr/local/include
${OPENSSL_INCLUDE}
)
target_compile_definitions(resiprocate PUBLIC -DUSE_ARES -DUSE_SSL)
#add_library(resiprocate_lite ${RUTIL_SOURCES} ${STACK_SOURCES})