summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Android-Initialize.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-02 14:24:44 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-12 14:40:52 (GMT)
commit8e0cb45e5591cc778b054780f9e6290c3f239815 (patch)
tree8dd5a5baf101d5aa29b659a1fe66f2f3a84f01b0 /Modules/Platform/Android-Initialize.cmake
parentd5e7d5f3ebb42e1a8b38e4bd30f717cdac81ed77 (diff)
downloadCMake-8e0cb45e5591cc778b054780f9e6290c3f239815.zip
CMake-8e0cb45e5591cc778b054780f9e6290c3f239815.tar.gz
CMake-8e0cb45e5591cc778b054780f9e6290c3f239815.tar.bz2
Android: Suppress new functionality with Nsight Tegra in VS IDE builds
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.
Diffstat (limited to 'Modules/Platform/Android-Initialize.cmake')
-rw-r--r--Modules/Platform/Android-Initialize.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/Platform/Android-Initialize.cmake b/Modules/Platform/Android-Initialize.cmake
index e1e57a3..f12b796 100644
--- a/Modules/Platform/Android-Initialize.cmake
+++ b/Modules/Platform/Android-Initialize.cmake
@@ -13,3 +13,10 @@
# When CMAKE_SYSTEM_NAME is "Android", CMakeSystemSpecificInitialize loads this
# module.
+
+# 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")
+ return()
+endif()