diff options
author | Brad King <brad.king@kitware.com> | 2020-06-02 10:39:36 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-06-02 10:39:44 (GMT) |
commit | 6950706ca0c656ef1ae2ee296a6bd7f3b4791620 (patch) | |
tree | 8ebd795eca96b8f5da02907fbe31c1c0e57cbdba /Tests | |
parent | 241dde8de02021d264e9d5a76fb7a63eff1faad6 (diff) | |
parent | 97fa63c09b5e50bc353b702de011e36f76577dad (diff) | |
download | CMake-6950706ca0c656ef1ae2ee296a6bd7f3b4791620.zip CMake-6950706ca0c656ef1ae2ee296a6bd7f3b4791620.tar.gz CMake-6950706ca0c656ef1ae2ee296a6bd7f3b4791620.tar.bz2 |
Merge topic 'asm-preprocessor-flag'
97fa63c09b ASM: Fix preprocessor definition flags for GNU 'as' tool
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4838
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/BuildDepends/GNU-AS.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/BuildDepends/GNU-AS.cmake b/Tests/RunCMake/BuildDepends/GNU-AS.cmake index 21921ef..0c7249a 100644 --- a/Tests/RunCMake/BuildDepends/GNU-AS.cmake +++ b/Tests/RunCMake/BuildDepends/GNU-AS.cmake @@ -5,6 +5,7 @@ message(STATUS "CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_MATCH='${CMAKE_ASM${A add_library(gnu_as STATIC gnu_as.s) target_include_directories(gnu_as PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) +target_compile_definitions(gnu_as PRIVATE "TEST_DEF=Hello") file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/check-$<LOWER_CASE:$<CONFIG>>.cmake CONTENT " set(check_pairs |