Suppress the console window on launch when building with CMake on MSWin.

This commit is contained in:
John Ralls 2016-08-20 20:14:34 +00:00
parent 13d9275b48
commit 806be3e1d9

View File

@ -124,6 +124,8 @@ IF (WIN32)
SET(LIBXSLT_XSLTPROC_EXECUTABLE ${CMAKE_PREFIX_PATH}/libxslt/bin/xsltproc)
# I have not yet debugged the intltool-merge file generation process on Windows.
SET(NO_INTLTOOL TRUE)
#Prevent creating a console window on startup.
SET(CMAKE_EXE_LINKER_FLAGS -mwindows)
ENDIF(WIN32)
IF (APPLE)