mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-02-26 13:23:55 +00:00
Various really small changes.
This commit is contained in:
parent
fc4bec4e19
commit
e728eb2a9e
3 changed files with 5 additions and 5 deletions
|
@ -46,7 +46,7 @@ namespace redis {
|
||||||
|
|
||||||
boost::string_ref add_lua_script_ifn ( const std::string& parScript );
|
boost::string_ref add_lua_script_ifn ( const std::string& parScript );
|
||||||
|
|
||||||
Command* m_command;
|
Command* const m_command;
|
||||||
#if defined(MAKE_SHA1_WITH_CRYPTOPP)
|
#if defined(MAKE_SHA1_WITH_CRYPTOPP)
|
||||||
std::set<Sha1Array> m_known_hashes;
|
std::set<Sha1Array> m_known_hashes;
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
project(${bare_name}-common CXX C)
|
project(${bare_name}-common CXX)
|
||||||
|
|
||||||
find_package(Readline 6.3 REQUIRED)
|
find_package(Readline 6.3 REQUIRED)
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ target_link_libraries(${PROJECT_NAME}
|
||||||
# ARCHIVE DESTINATION lib/static
|
# ARCHIVE DESTINATION lib/static
|
||||||
#)
|
#)
|
||||||
|
|
||||||
#Allow to link with .so
|
#Allow linking with .so
|
||||||
#see https://cmake.org/pipermail/cmake/2007-May/014350.html
|
#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
|
#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" )
|
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" )
|
||||||
|
|
|
@ -26,9 +26,8 @@ add_library(${PROJECT_NAME} SHARED
|
||||||
scantask/setbasic.cpp
|
scantask/setbasic.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(${PROJECT_NAME}
|
target_include_directories(${PROJECT_NAME} SYSTEM
|
||||||
PRIVATE ${MAGIC_INCLUDE_DIR}
|
PRIVATE ${MAGIC_INCLUDE_DIR}
|
||||||
PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME}
|
target_link_libraries(${PROJECT_NAME}
|
||||||
|
@ -37,6 +36,7 @@ target_link_libraries(${PROJECT_NAME}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_include_directories(${PROJECT_NAME}
|
target_include_directories(${PROJECT_NAME}
|
||||||
|
PRIVATE ${CMAKE_CURRENT_BINARY_DIR}
|
||||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
PUBLIC ${CMAKE_SOURCE_DIR}/lib/better-enums
|
PUBLIC ${CMAKE_SOURCE_DIR}/lib/better-enums
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue