[test-suite] r323714 - [test-suite, CUDA] fixed use of a wrong target name.

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 29 16:05:05 PST 2018


Author: tra
Date: Mon Jan 29 16:05:04 2018
New Revision: 323714

URL: http://llvm.org/viewvc/llvm-project?rev=323714&view=rev
Log:
[test-suite, CUDA] fixed use of a wrong target name.

Modified:
    test-suite/trunk/External/CUDA/CMakeLists.txt

Modified: test-suite/trunk/External/CUDA/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/CUDA/CMakeLists.txt?rev=323714&r1=323713&r2=323714&view=diff
==============================================================================
--- test-suite/trunk/External/CUDA/CMakeLists.txt (original)
+++ test-suite/trunk/External/CUDA/CMakeLists.txt Mon Jan 29 16:05:04 2018
@@ -141,7 +141,7 @@ function(create_thrust_tests VariantSuff
     # that of the CUDA SDK include path.
     llvm_test_executable(${_ThrustMainTarget} ${ThrustTestFramework} ${ThrustAllTestSources})
     target_compile_options(${_ThrustMainTarget} BEFORE PUBLIC ${THRUST_CPPFLAGS})
-    target_compile_options(${_executable} PUBLIC ${VariantCPPFLAGS})
+    target_compile_options(${_ThrustMainTarget} PUBLIC ${VariantCPPFLAGS})
     target_link_libraries(${_ThrustMainTarget} ${VariantLibs})
   endif()
   add_dependencies(cuda-tests-${VariantSuffix} cuda-tests-thrust-${VariantSuffix})




More information about the llvm-commits mailing list