Skip to content

Commit

Permalink
Export googletest_ROOT_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Jan 24, 2022
1 parent 467123d commit a9aa4e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ function(add_re_plugin)
# Optionally setup testing
if(RE_CMAKE_ENABLE_TESTING AND DEFINED ARG_TEST_CASE_SOURCES)
include(RECMakeAddTest)
set(googletest_ROOT_DIR "${googletest_ROOT_DIR}" PARENT_SCOPE)
internal_add_plugin_library("native-test-lib" "STATIC")
set_target_properties("native-test-lib" PROPERTIES EXCLUDE_FROM_ALL TRUE)
re_cmake_add_test()
Expand Down

0 comments on commit a9aa4e4

Please sign in to comment.