diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-11-22 07:20:15 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-11-23 16:02:56 +0100 |
commit | 58a6b9ebffc88c38251d55338247c3d936b55c30 (patch) | |
tree | c001d6a0fa0a06b344735deb7d85b2ea427c4959 /cmake/misc.cmake | |
parent | 4f84d9ce888864bd4fd3863ace3df33a64236d6b (diff) | |
download | mariadb-git-58a6b9ebffc88c38251d55338247c3d936b55c30.tar.gz |
cmake: message_once
Diffstat (limited to 'cmake/misc.cmake')
-rw-r--r-- | cmake/misc.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/misc.cmake b/cmake/misc.cmake new file mode 100644 index 00000000000..c87fc41e8e3 --- /dev/null +++ b/cmake/misc.cmake @@ -0,0 +1,6 @@ +FUNCTION(MESSAGE_ONCE id out) + IF(NOT __msg1_${id} STREQUAL "${out}") + MESSAGE(STATUS "${out}") + ENDIF() + SET(__msg1_${id} "${out}" CACHE INTERNAL "") +ENDFUNCTION() |