summaryrefslogtreecommitdiffstats
path: root/Tests/VSNsightTegra
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-19 14:11:36 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-30 12:45:35 (GMT)
commit178f56a57996651a4f8c2a20271f1e2c999279d2 (patch)
tree7d9d4de810d535ace5484abf364bdf3019481313 /Tests/VSNsightTegra
parent7115702f1b116fcf9b82ab197bab7426db10c610 (diff)
downloadCMake-178f56a57996651a4f8c2a20271f1e2c999279d2.zip
CMake-178f56a57996651a4f8c2a20271f1e2c999279d2.tar.gz
CMake-178f56a57996651a4f8c2a20271f1e2c999279d2.tar.bz2
VS: Fix Tegra-Android platform linking of libraries by name
Nsight Tegra Visual Studio Edition handles prefixing of library names with '-l' automatically, so teach the generator not to do so. Reported-by: Mourad Boufarguine <mourad@boufarguine.name>
Diffstat (limited to 'Tests/VSNsightTegra')
-rw-r--r--Tests/VSNsightTegra/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/VSNsightTegra/CMakeLists.txt b/Tests/VSNsightTegra/CMakeLists.txt
index e011cac..570733b 100644
--- a/Tests/VSNsightTegra/CMakeLists.txt
+++ b/Tests/VSNsightTegra/CMakeLists.txt
@@ -36,3 +36,4 @@ add_executable(twolib-second
)
target_include_directories(twolib-second PUBLIC jni)
target_link_libraries(twolib-second twolib-first)
+target_link_libraries(twolib-second m) # test linking to library by name