Browse Source

MSYS2 has fixed the missing libclang.dll.a file. Please install the latest clang package on MSYS2.

merge-requests/37/head
eidheim 10 years ago
parent
commit
7c447f589a
  1. 5
      src/CMakeLists.txt

5
src/CMakeLists.txt

@ -48,11 +48,6 @@ set(cc_files
add_library(${project_name} SHARED ${header_files} ${cc_files}) add_library(${project_name} SHARED ${header_files} ${cc_files})
include_directories(${LIBCLANG_INCLUDE_DIRS}) include_directories(${LIBCLANG_INCLUDE_DIRS})
#TODO: till clang is fixed on MSYS2 ((lib)clang.dll.a is missing):
if(MSYS)
set(LIBCLANG_LIBRARIES "${CMAKE_INSTALL_PREFIX}/bin/clang.dll")
endif()
target_link_libraries(${project_name} ${LIBCLANG_LIBRARIES}) target_link_libraries(${project_name} ${LIBCLANG_LIBRARIES})
install(TARGETS ${project_name} RUNTIME DESTINATION bin LIBRARY DESTINATION lib) install(TARGETS ${project_name} RUNTIME DESTINATION bin LIBRARY DESTINATION lib)

Loading…
Cancel
Save