From 03ea7bf2e1f432084c9dfe0641299f6c645a2aad Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Fri, 6 Jul 2007 14:02:42 -0400 Subject: [PATCH] BUG: fix test Alex --- Tests/Assembler/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Assembler/CMakeLists.txt b/Tests/Assembler/CMakeLists.txt index d51c2546c..68035ea6e 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)