diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-06 18:02:42 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-06 18:02:42 (GMT) |
commit | 03ea7bf2e1f432084c9dfe0641299f6c645a2aad (patch) | |
tree | 499a811220ae5499efc844384d364dec9fbcf7c2 /Tests/Assembler | |
parent | 919988b7b4f0423444c7b992a86ba361d3003c2a (diff) | |
download | CMake-03ea7bf2e1f432084c9dfe0641299f6c645a2aad.zip CMake-03ea7bf2e1f432084c9dfe0641299f6c645a2aad.tar.gz CMake-03ea7bf2e1f432084c9dfe0641299f6c645a2aad.tar.bz2 |
BUG: fix test
Alex
Diffstat (limited to 'Tests/Assembler')
-rw-r--r-- | Tests/Assembler/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Assembler/CMakeLists.txt b/Tests/Assembler/CMakeLists.txt index d51c254..68035ea 100644 --- a/Tests/Assembler/CMakeLists.txt +++ b/Tests/Assembler/CMakeLists.txt @@ -5,7 +5,7 @@ set(SRCS) # if no file has been set as source and we are on linux with an x86 processor try to use the gas/as assembler # main-linux-x86-gas.s seems to work for Linux and FreeBSD if(NOT SRCS AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") - if(CMAKE_SYSTEM MATCHES Linux or CMAKE_SYSTEM MATCHES FreeBSD) + if(CMAKE_SYSTEM MATCHES Linux OR CMAKE_SYSTEM MATCHES FreeBSD) message(STATUS "Trying to enable ASM-ATT for Linux or FreeBSD on x86") enable_language(ASM-ATT OPTIONAL) if(CMAKE_ASM-ATT_COMPILER_WORKS) @@ -13,7 +13,7 @@ if(NOT SRCS AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") # this assembler file was created using gcc -S main.c set(SRCS main-linux-x86-gas.s) endif(CMAKE_ASM-ATT_COMPILER_WORKS) - endif(CMAKE_SYSTEM MATCHES Linux or CMAKE_SYSTEM MATCHES FreeBSD) + endif(CMAKE_SYSTEM MATCHES Linux OR CMAKE_SYSTEM MATCHES FreeBSD) endif(NOT SRCS AND CMAKE_SYSTEM_PROCESSOR MATCHES "[ix].?86$") if(NOT SRCS) |