summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-18 18:24:34 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-18 18:24:34 (GMT)
commita0c539b5460da283433976053ea181f07fcea32e (patch)
treed7798100b1c885e3de2f711acdd2b107949675b0 /Modules
parent074999171cfcf21679a9417ef097df6a21fd3924 (diff)
parent9af881d810d464a357c8bac5eb4423aa970fffb6 (diff)
downloadCMake-a0c539b5460da283433976053ea181f07fcea32e.zip
CMake-a0c539b5460da283433976053ea181f07fcea32e.tar.gz
CMake-a0c539b5460da283433976053ea181f07fcea32e.tar.bz2
Merge branch 'fix-Android-NsightTegra' into release
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Android-Determine.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Android-Determine.cmake b/Modules/Platform/Android-Determine.cmake
index fd7c3bc..6d370ab 100644
--- a/Modules/Platform/Android-Determine.cmake
+++ b/Modules/Platform/Android-Determine.cmake
@@ -8,7 +8,7 @@
# Support for NVIDIA Nsight Tegra Visual Studio Edition was previously
# implemented in the CMake VS IDE generators. Avoid interfering with
# that functionality for now. Later we may try to integrate this.
-if(CMAKE_VS_PLATFORM_NAME STREQUAL "Tegra-Android")
+if(CMAKE_GENERATOR MATCHES "Visual Studio")
return()
endif()