Set lshpack include directory in the library's Makefile

This commit is contained in:
Dmitri Tikhonov 2020-02-20 17:00:23 -05:00
parent 0bd320303d
commit 83506617f9
3 changed files with 3 additions and 1 deletions

View file

@ -159,7 +159,7 @@ ELSE()
ENDIF()
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
INCLUDE_DIRECTORIES(include src/lshpack)
INCLUDE_DIRECTORIES(include)
IF(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
# Find libevent on FreeBSD:
include_directories( /usr/local/include )

View file

@ -87,6 +87,7 @@ include_directories(ls-qpack)
IF(PROJECT_NAME STREQUAL "openlitespeed")
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/spdy)
ELSE()
INCLUDE_DIRECTORIES(../lshpack)
SET(lsquic_STAT_SRCS ${lsquic_STAT_SRCS}
lsquic_xxhash.c
../lshpack/lshpack.c

View file

@ -19,6 +19,7 @@ ELSE()
ENDIF()
include_directories(../../src/liblsquic/ls-qpack)
INCLUDE_DIRECTORIES(../../src/lshpack)
SET(TESTS
ack