]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Use cmake build in executable suffix.
authorRalf Habacker <ralf.habacker@freenet.de>
Thu, 10 Oct 2013 21:42:57 +0000 (23:42 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Thu, 9 Jan 2014 23:34:38 +0000 (00:34 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=41252
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
cmake/CMakeLists.txt

index adecfe13684ab29d2bd5190af9b8e7ea576d77d0..db0352010f0e5b57bcd4e9d551a053f3084f4a42 100644 (file)
@@ -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)