"Fossies" - the Fresh Open Source Software Archive

Member "mariadb-connector-c-3.0.9-src/cmake/misc.cmake" (8 Feb 2019, 394 Bytes) of package /linux/misc/mariadb-connector-c-3.0.9-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 IF ("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_LESS "2.8.7")
    2   FUNCTION(MESSAGE1 id out)
    3     MESSAGE(STATUS "${out}")
    4   ENDFUNCTION()
    5 ELSE()
    6   FUNCTION(MESSAGE1 id out)
    7     STRING(MD5 hash "${out}")
    8     IF(NOT __msg1_${id} STREQUAL "${hash}")
    9       MESSAGE(STATUS "${out}")
   10     ENDIF()
   11     SET(__msg1_${id} ${hash} CACHE INTERNAL "")
   12   ENDFUNCTION()
   13 ENDIF()