Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
obviously, this failed for freebsd 13
authorAugustin Degomme <adegomme@users.noreply.github.com>
Mon, 15 Mar 2021 16:30:48 +0000 (17:30 +0100)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Mon, 15 Mar 2021 16:31:12 +0000 (17:31 +0100)
tools/cmake/MakeLib.cmake

index 2fddb53..debbe95 100644 (file)
@@ -130,7 +130,7 @@ if(enable_smpi)
       SET(SIMGRID_DEP "${SIMGRID_DEP} -lflang")
       if("${CMAKE_SYSTEM}" MATCHES "FreeBSD")
         set(SIMGRID_DEP "${SIMGRID_DEP} -lexecinfo")
-        if ("${CMAKE_SYSTEM_VERSION}" MATCHES "12")
+       if ("${CMAKE_SYSTEM_VERSION}" STRGREATER_EQUAL "12")
             set(SIMGRID_DEP "${SIMGRID_DEP} -lpgmath")
         endif()
         if ("${CMAKE_SYSTEM_VERSION}" MATCHES "12\.1")