diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2013-10-10 23:42:57 +0200 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2014-01-10 00:34:38 +0100 |
commit | 720afc64b8cb531b2f8340db404adb79fe09ff74 (patch) | |
tree | 0c0307192215655e03b24b0b1c1a56f94014cacf | |
parent | 9866c2d78588b699b0f51ff825263cbbc26fe3a5 (diff) | |
download | dbus-720afc64b8cb531b2f8340db404adb79fe09ff74.tar.gz |
Use cmake build in executable suffix.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41252
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r-- | cmake/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index adecfe13..db035201 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -353,9 +353,8 @@ endif(X11_FOUND) # test binary names if (WIN32) - # Automake calls this EXEEXT, and CMake doesn't have a standard name - # for it; follow Automake's naming convention so we can share .in files - set (EXEEXT ".exe") + # follow Automake's naming convention so we can share .in files + set (EXEEXT ${CMAKE_EXECUTABLE_SUFFIX}) endif(WIN32) if (MSVC_IDE) |