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_10~12 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2579743d6eaefa3fe292c959ce23ec3a1cd2b563 freebsd reports amd64 instead of AMD64, and cmake string matching is string sensitive (cherry picked from commit 3ab8cc2efe1a4181e94fa1e833d9afc82c378dd5) --- diff --git a/buildtools/Cmake/CompleteInFiles.cmake b/buildtools/Cmake/CompleteInFiles.cmake index 64df705bb2..a9d5a61ef7 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)