[cmake-commits] alex committed CMakeLists.txt 1.5 1.6
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Jul 6 14:02:44 EDT 2007
Update of /cvsroot/CMake/CMake/Tests/Assembler
In directory public:/mounts/ram/cvs-serv13364
Modified Files:
CMakeLists.txt
Log Message:
BUG: fix test
Alex
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/Assembler/CMakeLists.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- CMakeLists.txt 6 Jul 2007 12:53:16 -0000 1.5
+++ CMakeLists.txt 6 Jul 2007 18:02:42 -0000 1.6
@@ -5,7 +5,7 @@
# 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 @@
# 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)
More information about the Cmake-commits
mailing list