Mercurial > irccd
comparison irccdctl/CMakeLists.txt @ 377:cd7270ec6c8e
CMake: general cleanup
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 18 Dec 2016 10:02:59 +0100 |
parents | 24b1709093e7 |
children | c6fbb6e0e06d |
comparison
equal
deleted
inserted
replaced
376:b61a7d5a9101 | 377:cd7270ec6c8e |
---|---|
1 # # CMakeLists.txt -- CMake build system for irccd | 1 # |
2 # CMakeLists.txt -- CMake build system for irccd | |
2 # | 3 # |
3 # Copyright (c) 2013-2016 David Demelier <markand@malikania.fr> | 4 # Copyright (c) 2013-2016 David Demelier <markand@malikania.fr> |
4 # | 5 # |
5 # Permission to use, copy, modify, and/or distribute this software for any | 6 # Permission to use, copy, modify, and/or distribute this software for any |
6 # purpose with or without fee is hereby granted, provided that the above | 7 # purpose with or without fee is hereby granted, provided that the above |
30 irccd_define_executable( | 31 irccd_define_executable( |
31 TARGET irccdctl | 32 TARGET irccdctl |
32 DESCRIPTION "Irccd controller." | 33 DESCRIPTION "Irccd controller." |
33 SOURCES ${SOURCES} | 34 SOURCES ${SOURCES} |
34 LIBRARIES libirccdctl | 35 LIBRARIES libirccdctl |
35 INCLUDES ${irccdctl_SOURCE_DIR} | |
36 ) | 36 ) |
37 | |
38 if (UNIX) | |
39 set_target_properties(irccdctl PROPERTIES LINK_FLAGS -pthread) | |
40 endif () | |
41 |