X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e011a997e0781030a0ae798aca409b799225a190..a032429dce531a2897509a92a79ac15d3755fbf9:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e9c98d877..77973ccfab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,8 +109,8 @@ endif() set(SIMGRID_VERSION_MAJOR "3") set(SIMGRID_VERSION_MINOR "21") -set(SIMGRID_VERSION_PATCH "0") -#set(SIMGRID_VERSION_EXTRA "-DEVEL") # Extra words to add to version string (e.g. -rc1) +set(SIMGRID_VERSION_PATCH "90") +set(SIMGRID_VERSION_EXTRA "-DEVEL") # Extra words to add to version string (e.g. -rc1) set(SIMGRID_VERSION_DATE "2018") # Year for copyright information @@ -139,9 +139,9 @@ execute_process(COMMAND ${CMAKE_LINKER} -version OUTPUT_VARIABLE LINKER_VERSION string(REGEX MATCH "[0-9].[0-9]*" LINKER_VERSION "${LINKER_VERSION}") ### Set the library providing dlopen -if("${CMAKE_SYSTEM}" MATCHES "Linux") +if("${CMAKE_SYSTEM_NAME}" MATCHES "kFreeBSD|Linux") find_library(DL_LIBRARY dl) -endif("${CMAKE_SYSTEM}" MATCHES "Linux") +endif() ### Find programs and paths FIND_PROGRAM(GCOV_PATH gcov)