diff --git a/radio/src/tests/CMakeLists.txt b/radio/src/tests/CMakeLists.txt index 7b5bf8db2..1f51cfebf 100644 --- a/radio/src/tests/CMakeLists.txt +++ b/radio/src/tests/CMakeLists.txt @@ -1,5 +1,5 @@ -set(GTEST_INCDIR /usr/include/gtest) -set(GTEST_SRCDIR /usr/src/gtest) +set(GTEST_INCDIR /usr/include/gtest CACHE string "Location of Google Test includes") +set(GTEST_SRCDIR /usr/src/gtest CACHE string "Location of Google Test directory") if(EXISTS "${GTEST_SRCDIR}/src/gtest-all.cc") if(Qt5Widgets_FOUND) @@ -35,4 +35,4 @@ if(EXISTS "${GTEST_SRCDIR}/src/gtest-all.cc") endif() else() message("WARNING: can't find gtests source, gtest target will not be available!") -endif() \ No newline at end of file +endif()