From: Ralf Habacker Date: Thu, 10 Oct 2013 21:42:57 +0000 (+0200) Subject: Use cmake build in executable suffix. X-Git-Tag: dbus-1.8.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=720afc64b8cb531b2f8340db404adb79fe09ff74;p=thirdparty%2Fdbus.git Use cmake build in executable suffix. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41252 Reviewed-by: Simon McVittie --- diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index adecfe136..db0352010 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)