1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-26 08:56:58 +00:00

Fix for CentOS 7

This commit is contained in:
Carles Fernandez 2019-11-10 23:57:18 +01:00
parent 8adcf7cf0a
commit 6cadb7f796
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -1120,7 +1120,7 @@ if(NOT GFLAGS_FOUND)
set(GFlags_INCLUDE_DIRS
${CMAKE_CURRENT_BINARY_DIR}/gflags-${GNSSSDR_GFLAGS_LOCAL_VERSION}/include CACHE PATH "Local Gflags headers"
)
if(CMAKE_BUILD_TYPE MATCHES Debug)
if((CMAKE_BUILD_TYPE MATCHES Debug) AND (CMAKE_VERSION VERSION_GREATER "3.0.2"))
set(GFLAGS_DEBUG_POSTFIX "_debug")
endif()
set(GFlags_LIBS