Mercurial > irccd
comparison CMakeLists.txt @ 590:aec9e70d55ff
CMake: mark irccd as C++ only
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 05 Dec 2017 14:54:45 +0100 |
parents | 68032209609d |
children | 48c6a1167245 |
comparison
equal
deleted
inserted
replaced
589:25d4a9f239ec | 590:aec9e70d55ff |
---|---|
45 # tests - The unit tests. | 45 # tests - The unit tests. |
46 # win32 - Additional files for Windows platform. | 46 # win32 - Additional files for Windows platform. |
47 # | 47 # |
48 | 48 |
49 cmake_minimum_required(VERSION 3.3) | 49 cmake_minimum_required(VERSION 3.3) |
50 project(irccd) | 50 project(irccd CXX) |
51 | 51 |
52 # Helper to set global internal variables. | 52 # Helper to set global internal variables. |
53 function(setg var value) | 53 function(setg var value) |
54 set("${var}" "${value}" CACHE INTERNAL "") | 54 set("${var}" "${value}" CACHE INTERNAL "") |
55 endfunction () | 55 endfunction () |