Mercurial > irccd
changeset 70:2a4324441257
CMake: disable warning on daemon for Mac OS X
Reported by: nari
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 14 Mar 2016 10:55:41 +0100 |
parents | aa58ff8b6543 |
children | d7d0e239fb0e |
files | irccd/CMakeLists.txt |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/irccd/CMakeLists.txt Sun Mar 13 22:34:48 2016 +0100 +++ b/irccd/CMakeLists.txt Mon Mar 14 10:55:41 2016 +0100 @@ -134,6 +134,10 @@ common ) +if (IRCCD_SYSTEM_MAC) + target_compile_options(irccd PRIVATE -Wno-deprecated-declarations) +endif () + if (UNIX) set_target_properties(irccd PROPERTIES LINK_FLAGS "-pthread") endif ()