diff --git a/tools/clang/tools/libclang/CMakeLists.txt b/tools/clang/tools/libclang/CMakeLists.txt index 00824b38f6..1ef0c8ecd9 100644 --- a/tools/clang/tools/libclang/CMakeLists.txt +++ b/tools/clang/tools/libclang/CMakeLists.txt @@ -159,17 +159,10 @@ add_clang_library(libclang ${ENABLE_SHARED} ${ENABLE_STATIC} ) if(ENABLE_SHARED) - if(WIN32) - set_target_properties(libclang - PROPERTIES - VERSION ${LIBCLANG_LIBRARY_VERSION} - DEFINE_SYMBOL _CINDEX_LIB_) - else() - set_target_properties(libclang - PROPERTIES - VERSION ${LIBCLANG_LIBRARY_VERSION} - DEFINE_SYMBOL _CINDEX_LIB_) - endif() + set_target_properties(libclang + PROPERTIES + VERSION ${LIBCLANG_LIBRARY_VERSION} + DEFINE_SYMBOL _CINDEX_LIB_) if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") set(LIBCLANG_LINK_FLAGS " -Wl,-compatibility_version -Wl,1")