aboutsummaryrefslogtreecommitdiff
path: root/sdk/compiler/cmake/modules/FindGoogleTestNV.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'sdk/compiler/cmake/modules/FindGoogleTestNV.cmake')
-rw-r--r--sdk/compiler/cmake/modules/FindGoogleTestNV.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/sdk/compiler/cmake/modules/FindGoogleTestNV.cmake b/sdk/compiler/cmake/modules/FindGoogleTestNV.cmake
index 50e7edd..7f2dde4 100644
--- a/sdk/compiler/cmake/modules/FindGoogleTestNV.cmake
+++ b/sdk/compiler/cmake/modules/FindGoogleTestNV.cmake
@@ -8,7 +8,9 @@ include(FindPackageHandleStandardArgs)
# TODO: Do the version stuff properly!
find_path(GOOGLETEST_PATH include/gtest/gtest.h
- PATHS ${GW_DEPS_ROOT}/$ENV{PM_googletest_NAME}/${GoogleTestNV_FIND_VERSION}
+ PATHS
+ $ENV{PM_googletest_PATH}
+ ${GW_DEPS_ROOT}/$ENV{PM_googletest_NAME}/${GoogleTestNV_FIND_VERSION}
)
if (TARGET_BUILD_PLATFORM STREQUAL "Windows")