[CMAKE/CLANG]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 10 Sep 2014 15:34:05 +0000 (15:34 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 10 Sep 2014 15:34:05 +0000 (15:34 +0000)
* Do not pass -mwindows when linking executables.
CORE-8516

svn path=/trunk/; revision=64104

reactos/cmake/gcc.cmake

index 796ebaf..e69977e 100644 (file)
@@ -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)