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>
This commit is contained in:
Ralf Habacker 2013-10-10 23:42:57 +02:00
parent 9866c2d785
commit 720afc64b8

View 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)