From 009e72443d054ac6c06718b88dd73063fb611c09 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Wed, 10 Sep 2014 15:34:05 +0000 Subject: [PATCH] [CMAKE/CLANG] * Do not pass -mwindows when linking executables. CORE-8516 svn path=/trunk/; revision=64104 --- reactos/cmake/gcc.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/cmake/gcc.cmake b/reactos/cmake/gcc.cmake index 796ebafbe1a..e69977e3c53 100644 --- a/reactos/cmake/gcc.cmake +++ b/reactos/cmake/gcc.cmake @@ -36,6 +36,7 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang") set(CMAKE_LINK_DEF_FILE_FLAG "") set(CMAKE_STATIC_LIBRARY_SUFFIX ".a") set(CMAKE_LINK_LIBRARY_SUFFIX "") + set(CMAKE_CREATE_WIN32_EXE "") endif() if(DBG)