mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-12 18:30:34 +00:00
Fix for old CMake versions
This commit is contained in:
parent
24c48c1700
commit
ac4a79c37a
@ -1232,6 +1232,7 @@ if(NOT GLOG_FOUND OR ${LOCAL_GFLAGS})
|
||||
|
||||
if(CMAKE_VERSION VERSION_LESS 3.2)
|
||||
if(CMAKE_VERSION VERSION_LESS 3.0)
|
||||
set(GLOG_MAKE_PROGRAM ${CMAKE_MAKE_PROGRAM})
|
||||
set(GFLAGS_LIBRARIES_TO_LINK ${GFlags_LIBS})
|
||||
if(${LOCAL_GFLAGS})
|
||||
set(GFLAGS_LIBRARY_DIR_TO_LINK ${CMAKE_CURRENT_BINARY_DIR}/gflags-${GNSSSDR_GFLAGS_LOCAL_VERSION}/lib)
|
||||
|
Loading…
Reference in New Issue
Block a user