Skip to content

Fetch hiredis at build time #352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

devbharat
Copy link

Instead of relying it to be installed on system.

@david-drinn
Copy link

david-drinn commented Oct 25, 2023

Would like to see this updated with the latest FetchContent features, specifically OVERRIDE_FIND_PACKAGE option in FetchContent_Declare(), and calling FetchContent_MakeAvailable(hiredis). I think it would simplify the changes significantly.

@@ -12,7 +17,7 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
endif()
message(STATUS "redis-plus-plus build type: ${CMAKE_BUILD_TYPE}")

set(REDIS_PLUS_PLUS_DEFAULT_CXX_STANDARD 17)
set(REDIS_PLUS_PLUS_DEFAULT_CXX_STANDARD 11)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants