From d269d9c80199dcc4265b4ca22d815375bdf34b03 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 7 Sep 2014 17:19:14 +0000 Subject: [PATCH] [CMAKE/CLANG] * Properly set CMAKE_STATIC_LIBRARY_SUFFIX and CMAKE_LINK_LIBRARY_SUFFIX for Clang builds. svn path=/trunk/; revision=64064 --- reactos/cmake/gcc.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/cmake/gcc.cmake b/reactos/cmake/gcc.cmake index cd5d542d440..0ab9a7cb649 100644 --- a/reactos/cmake/gcc.cmake +++ b/reactos/cmake/gcc.cmake @@ -35,6 +35,8 @@ if(CMAKE_C_COMPILER_ID STREQUAL "Clang") add_compile_flags_language("-std=gnu89" "C") add_compile_flags("-Wno-microsoft") set(CMAKE_LINK_DEF_FILE_FLAG "") + set(CMAKE_STATIC_LIBRARY_SUFFIX ".a") + set(CMAKE_LINK_LIBRARY_SUFFIX "") endif() if(DBG)