1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-29 01:33:46 +00:00

Various really small changes.

This commit is contained in:
King_DuckZ 2016-07-08 14:17:51 +01:00
parent fc4bec4e19
commit e728eb2a9e
3 changed files with 5 additions and 5 deletions

View file

@ -46,7 +46,7 @@ namespace redis {
boost::string_ref add_lua_script_ifn ( const std::string& parScript );
Command* m_command;
Command* const m_command;
#if defined(MAKE_SHA1_WITH_CRYPTOPP)
std::set<Sha1Array> m_known_hashes;
#else

View file

@ -1,4 +1,4 @@
project(${bare_name}-common CXX C)
project(${bare_name}-common CXX)
find_package(Readline 6.3 REQUIRED)
@ -32,7 +32,7 @@ target_link_libraries(${PROJECT_NAME}
# ARCHIVE DESTINATION lib/static
#)
#Allow to link with .so
#Allow linking with .so
#see https://cmake.org/pipermail/cmake/2007-May/014350.html
#and http://stackoverflow.com/questions/6093547/what-do-r-x86-64-32s-and-r-x86-64-64-relocation-mean/6093910#6093910
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" )

View file

@ -26,9 +26,8 @@ add_library(${PROJECT_NAME} SHARED
scantask/setbasic.cpp
)
target_include_directories(${PROJECT_NAME}
target_include_directories(${PROJECT_NAME} SYSTEM
PRIVATE ${MAGIC_INCLUDE_DIR}
PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
)
target_link_libraries(${PROJECT_NAME}
@ -37,6 +36,7 @@ target_link_libraries(${PROJECT_NAME}
)
target_include_directories(${PROJECT_NAME}
PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
PUBLIC ${CMAKE_SOURCE_DIR}/lib/better-enums
)