Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to fix number of '\' escapes in cmake regexps.
[simgrid.git] / tools / cmake / MakeLib.cmake
index b0b8837..c50bd88 100644 (file)
@@ -133,7 +133,7 @@ if(enable_smpi)
        if ("${CMAKE_SYSTEM_VERSION}" STRGREATER_EQUAL "12")
             set(SIMGRID_DEP "${SIMGRID_DEP} -lpgmath")
         endif()
-        if ("${CMAKE_SYSTEM_VERSION}" MATCHES "12\.1")
+        if ("${CMAKE_SYSTEM_VERSION}" MATCHES "12\\.1")
             set(SIMGRID_DEP "${SIMGRID_DEP} -lomp")
         endif()
       endif()