Skip to content

Commit

Permalink
Fix CMake compilation of redis++ as sub project from FetchContent (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanel authored Dec 9, 2024
1 parent 55f23c0 commit 2a9f55b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ if(REDIS_PLUS_PLUS_BUILD_STATIC)
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/${TLS_SUB_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/${CXX_UTILS_DIR}>
$<INSTALL_INTERFACE:include>
PRIVATE
$<BUILD_INTERFACE:${REDIS_PLUS_PLUS_GENERATED_HEADER_DIR}>)

if(hiredis_FOUND)
Expand Down Expand Up @@ -270,7 +269,6 @@ if(REDIS_PLUS_PLUS_BUILD_SHARED)
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/${TLS_SUB_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/${CXX_UTILS_DIR}>
$<INSTALL_INTERFACE:include>
PRIVATE
$<BUILD_INTERFACE:${REDIS_PLUS_PLUS_GENERATED_HEADER_DIR}>)

if(hiredis_FOUND)
Expand Down

0 comments on commit 2a9f55b

Please sign in to comment.