Merge topic 'test-Assembler-C-flags'

d686517 Tests/Assembler: Assemble and link with same flags (#13314)
This commit is contained in:
David Cole 2012-06-21 11:53:21 -04:00 committed by CMake Topic Stage
commit b71ce03a26
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ endif("${CMAKE_GENERATOR}" MATCHES "Makefile")
if(SRCS) if(SRCS)
set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS}")
enable_language(ASM OPTIONAL) enable_language(ASM OPTIONAL)
else(SRCS) else(SRCS)
message(STATUS "No assembler enabled, using C") message(STATUS "No assembler enabled, using C")