Commit b149f5d0fd1eae389291cf6ae6ac0db94f897d62
1 parent
14a7f431
added library include dirs to CMakeLists.txt
Showing
1 changed file
with
5 additions
and
0 deletions
CMakeLists.txt
| @@ -33,6 +33,10 @@ find_package(Threads REQUIRED) | @@ -33,6 +33,10 @@ find_package(Threads REQUIRED) | ||
| 33 | find_package(hiredis REQUIRED) | 33 | find_package(hiredis REQUIRED) |
| 34 | find_package(libev REQUIRED) | 34 | find_package(libev REQUIRED) |
| 35 | 35 | ||
| 36 | +set(REDOX_LIB_INCLUDES | ||
| 37 | + ${HIREDIS_INCLUDE_DIRS} | ||
| 38 | + ${LIBEV_INCLUDE_DIRS}) | ||
| 39 | + | ||
| 36 | set(REDOX_LIB_DEPS | 40 | set(REDOX_LIB_DEPS |
| 37 | ${HIREDIS_LIBRARIES} | 41 | ${HIREDIS_LIBRARIES} |
| 38 | ${LIBEV_LIBRARIES} | 42 | ${LIBEV_LIBRARIES} |
| @@ -63,6 +67,7 @@ set(INC_REDOX_WRAPPER ${INC_REDOX_DIR}/redox.hpp) | @@ -63,6 +67,7 @@ set(INC_REDOX_WRAPPER ${INC_REDOX_DIR}/redox.hpp) | ||
| 63 | set(SRC_REDOX_ALL ${SRC_REDOX_CORE} ${SRC_REDOX_UTILS}) | 67 | set(SRC_REDOX_ALL ${SRC_REDOX_CORE} ${SRC_REDOX_UTILS}) |
| 64 | set(INC_REDOX_ALL ${INC_REDOX_CORE} ${INC_REDOX_UTILS} ${INC_REDOX_WRAPPER}) | 68 | set(INC_REDOX_ALL ${INC_REDOX_CORE} ${INC_REDOX_UTILS} ${INC_REDOX_WRAPPER}) |
| 65 | 69 | ||
| 70 | +include_directories(${REDOX_LIB_INCLUDES}) | ||
| 66 | include_directories(${INC_REDOX_DIR}) | 71 | include_directories(${INC_REDOX_DIR}) |
| 67 | include_directories(${INC_REDOX_DIR}/redox) | 72 | include_directories(${INC_REDOX_DIR}/redox) |
| 68 | 73 |