summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-06-21 15:53:21 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-06-21 15:53:21 (GMT)
commitb71ce03a262c53dec5caca3ba09b844fb62abc7e (patch)
treee9e3b61ed0d55be880b0bf062eaf9081d693854b /Tests
parent9f80ad7ccbc7eba8d25eeba405a4b5178071b497 (diff)
parentd6865175a73f657336e48557bd670b08743df5a7 (diff)
downloadCMake-b71ce03a262c53dec5caca3ba09b844fb62abc7e.zip
CMake-b71ce03a262c53dec5caca3ba09b844fb62abc7e.tar.gz
CMake-b71ce03a262c53dec5caca3ba09b844fb62abc7e.tar.bz2
Merge topic 'test-Assembler-C-flags'
d686517 Tests/Assembler: Assemble and link with same flags (#13314)
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Assembler/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/Assembler/CMakeLists.txt b/Tests/Assembler/CMakeLists.txt
index ad27e57..456e496 100644
--- a/Tests/Assembler/CMakeLists.txt
+++ b/Tests/Assembler/CMakeLists.txt
@@ -23,6 +23,7 @@ endif("${CMAKE_GENERATOR}" MATCHES "Makefile")
if(SRCS)
+ set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS}")
enable_language(ASM OPTIONAL)
else(SRCS)
message(STATUS "No assembler enabled, using C")