[CMAKE/CLANG]

* Properly set CMAKE_STATIC_LIBRARY_SUFFIX and CMAKE_LINK_LIBRARY_SUFFIX for Clang builds.

svn path=/trunk/; revision=64064
This commit is contained in:
Amine Khaldi 2014-09-07 17:19:14 +00:00
parent ada8c2467a
commit d269d9c801

View file

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