Commit dde6916b authored by Alessio M's avatar Alessio M
Browse files

Add d suffix to debug libraries so that can packaged together with optimized...

Add d suffix to debug libraries so that can packaged together with optimized builds (Release, RelWithDebInfo, etc)
parent 3b68b501
...@@ -24,7 +24,8 @@ PROJECT(hiredis VERSION "${VERSION}") ...@@ -24,7 +24,8 @@ PROJECT(hiredis VERSION "${VERSION}")
# Hiredis requires C99 # Hiredis requires C99
SET(CMAKE_C_STANDARD 99) SET(CMAKE_C_STANDARD 99)
set(CMAKE_POSITION_INDEPENDENT_CODE ON) SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
SET(CMAKE_DEBUG_POSTFIX d) # so debug and optimized can be packaged together
SET(ENABLE_EXAMPLES OFF CACHE BOOL "Enable building hiredis examples") SET(ENABLE_EXAMPLES OFF CACHE BOOL "Enable building hiredis examples")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment