You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
381 B

#FetchContent_Declare(gflags
# SOURCE_DIR ${LIB_BASE_DIR}/gflags-src)
#FetchContent_MakeAvailable(gflags)
#
#include_directories(${gflags_BINARY_DIR}/include)
set(GFLAGS_ROOT_DIR ${LIB_BASE_DIR}/gflags-src)
find_package(gflags REQUIRED CONFIG HINTS ${GFLAGS_ROOT_DIR})
set(GFLAGS_INCLUDE_DIR ${LIB_BASE_DIR}/gflags-build/include)
list(APPEND third_party_libraries gflags)