From: Augustin Degomme Date: Thu, 14 Nov 2013 23:54:20 +0000 (+0100) Subject: freebsd reports amd64 instead of AMD64, and cmake string matching is string sensitive X-Git-Tag: v3_11_beta~302 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3ab8cc2efe1a4181e94fa1e833d9afc82c378dd5 freebsd reports amd64 instead of AMD64, and cmake string matching is string sensitive --- diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index 78c06fa2fe..69af01f14f 100644 --- a/buildtools/Cmake/CompleteInFiles.cmake +++ b/buildtools/Cmake/CompleteInFiles.cmake @@ -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)