mirror of
https://github.com/KingDuckZ/incredis
synced 2024-11-27 00:43:50 +00:00
Buildfix
This commit is contained in:
parent
5d79a9101c
commit
2c498e286e
4 changed files with 9 additions and 1 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
||||||
[submodule "lib/duckhandy"]
|
[submodule "lib/duckhandy"]
|
||||||
path = lib/duckhandy
|
path = lib/duckhandy
|
||||||
url = ../duckhandy.git
|
url = ../duckhandy.git
|
||||||
|
[submodule "lib/better-enums"]
|
||||||
|
path = lib/better-enums
|
||||||
|
url = https://github.com/aantron/better-enums.git
|
||||||
|
|
|
@ -9,6 +9,8 @@ find_package(CryptoPP 5.6)
|
||||||
find_package(libev 4.0 REQUIRED)
|
find_package(libev 4.0 REQUIRED)
|
||||||
find_package(Boost 1.53.0 REQUIRED)
|
find_package(Boost 1.53.0 REQUIRED)
|
||||||
|
|
||||||
|
add_shared_git_project("lib/duckhandy")
|
||||||
|
|
||||||
add_library(${PROJECT_NAME} SHARED
|
add_library(${PROJECT_NAME} SHARED
|
||||||
src/command.cpp
|
src/command.cpp
|
||||||
src/scan_iterator.cpp
|
src/scan_iterator.cpp
|
||||||
|
@ -29,7 +31,7 @@ target_include_directories(${PROJECT_NAME} SYSTEM
|
||||||
PRIVATE ${Boost_INCLUDE_DIRS}
|
PRIVATE ${Boost_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
target_include_directories(${PROJECT_NAME}
|
target_include_directories(${PROJECT_NAME}
|
||||||
PUBLIC ${CMAKE_SOURCE_DIR}/include
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||||
PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
|
PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -37,6 +39,7 @@ target_link_libraries(${PROJECT_NAME}
|
||||||
PRIVATE ${HIREDIS_LIBRARIES}
|
PRIVATE ${HIREDIS_LIBRARIES}
|
||||||
PRIVATE ${LIBEV_LIBRARIES}
|
PRIVATE ${LIBEV_LIBRARIES}
|
||||||
PRIVATE ${Boost_LIBRARIES}
|
PRIVATE ${Boost_LIBRARIES}
|
||||||
|
PUBLIC duckhandy
|
||||||
)
|
)
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
|
|
1
lib/better-enums
Submodule
1
lib/better-enums
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit f520b397e3098720af1dd32d49ec3021d1df5bb3
|
|
@ -29,6 +29,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <boost/utility/string_ref.hpp>
|
#include <boost/utility/string_ref.hpp>
|
||||||
|
#include <boost/range/iterator_range_core.hpp>
|
||||||
#include <ciso646>
|
#include <ciso646>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue