mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 01:55:20 +00:00
freebsd: Always use gtest TR1 on FreeBSD (#3238)
This commit is contained in:
parent
84b39f5409
commit
05d020a68c
@ -529,7 +529,7 @@ else()
|
|||||||
check_include_file_cxx("tr1/tuple" HAVE_TR1_TUPLE)
|
check_include_file_cxx("tr1/tuple" HAVE_TR1_TUPLE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if("${HAVE_TR1_TUPLE}" STREQUAL "")
|
if(FREEBSD OR "${HAVE_TR1_TUPLE}" STREQUAL "")
|
||||||
set(GTEST_FLAGS "-DGTEST_USE_OWN_TR1_TUPLE=1")
|
set(GTEST_FLAGS "-DGTEST_USE_OWN_TR1_TUPLE=1")
|
||||||
else()
|
else()
|
||||||
set(GTEST_FLAGS "-DGTEST_USE_OWN_TR1_TUPLE=0")
|
set(GTEST_FLAGS "-DGTEST_USE_OWN_TR1_TUPLE=0")
|
||||||
|
Loading…
Reference in New Issue
Block a user