Merge topic 'test-Assembler-C-flags'
d686517
Tests/Assembler: Assemble and link with same flags (#13314)
This commit is contained in:
commit
b71ce03a26
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue