diff options
author | Pino Toscano <pino@kde.org> | 2010-03-02 21:53:55 +0100 |
---|---|---|
committer | Pino Toscano <pino@kde.org> | 2010-03-02 21:53:55 +0100 |
commit | aaa58b26733a2f7c778632da4942b588050cf33f (patch) | |
tree | f33f530997684e48e2f539c8d4c8fe24faeb2467 /cmake | |
parent | 6304b0d8959fccf96b030c757d78e845d04757e4 (diff) |
[CMake] properly define ICONV_CONST
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindIconv.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/modules/FindIconv.cmake b/cmake/modules/FindIconv.cmake index ce40ab26..338d17d0 100644 --- a/cmake/modules/FindIconv.cmake +++ b/cmake/modules/FindIconv.cmake @@ -36,6 +36,9 @@ IF(ICONV_FOUND) return 0; } " ICONV_SECOND_ARGUMENT_IS_CONST ) + IF(ICONV_SECOND_ARGUMENT_IS_CONST) + SET(ICONV_CONST "const") + ENDIF(ICONV_SECOND_ARGUMENT_IS_CONST) ENDIF(ICONV_FOUND) set(CMAKE_REQUIRED_INCLUDES) set(CMAKE_REQUIRED_LIBRARIES) |