Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
freebsd reports amd64 instead of AMD64, and cmake string matching is string sensitive
authorAugustin Degomme <degomme@idpann.imag.fr>
Thu, 14 Nov 2013 23:54:20 +0000 (00:54 +0100)
committerAugustin Degomme <degomme@idpann.imag.fr>
Thu, 14 Nov 2013 23:54:38 +0000 (00:54 +0100)
buildtools/Cmake/CompleteInFiles.cmake

index 78c06fa..69af01f 100644 (file)
@@ -9,7 +9,7 @@ set(CMAKE_MODULE_PATH
 
 ### Determine the assembly flavor that we need today
 include(CMakeDetermineSystem)
-IF(CMAKE_SYSTEM_PROCESSOR MATCHES ".86|AMD64")
+IF(CMAKE_SYSTEM_PROCESSOR MATCHES ".86|AMD64|amd64")
   IF(${ARCH_32_BITS})
     message(STATUS "System processor: i686 (${CMAKE_SYSTEM_PROCESSOR}, 32 bits)")
     set(PROCESSOR_i686 1)