aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/FindGoogletest.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindGoogletest.cmake')
-rw-r--r--cmake/FindGoogletest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/FindGoogletest.cmake b/cmake/FindGoogletest.cmake
index 84d8018ffd..eee8127a95 100644
--- a/cmake/FindGoogletest.cmake
+++ b/cmake/FindGoogletest.cmake
@@ -100,6 +100,7 @@ if(Googletest_FOUND AND NOT TARGET Googletest)
GTEST_HAS_PARAM_TEST
GTEST_HAS_DEATH_TEST
)
+ set_target_properties(Googletest PROPERTIES AUTOMOC OFF AUTOUIC OFF)
target_link_libraries(Googletest Threads::Threads)
endif()