Skip to content

Commit

Permalink
Trying to reduce the number of the libs v6
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii Verbytskyi committed Jun 5, 2020
1 parent d49a89b commit 1b04ca3
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ if ((LLVM_VERSION_MAJOR EQUAL 3) AND (LLVM_VERSION_MINOR LESS 8) )
target_link_libraries(binder PRIVATE
-Wl,--start-group
${lib_llvm_so_path}
clang
clangAnalysis
clangARCMigrate
clangAST
Expand All @@ -72,26 +71,16 @@ clangTooling
-Wl,--end-group
)
endif()
if ( ( (LLVM_VERSION_MAJOR EQUAL 3) AND (LLVM_VERSION_MINOR GREATER 7) ) OR ( (LLVM_VERSION_MAJOR GREATER 3) AND (LLVM_VERSION_MAJOR LESS 7) ) )
if ( ( (LLVM_VERSION_MAJOR EQUAL 3) AND (LLVM_VERSION_MINOR GREATER 7) ) OR ( (LLVM_VERSION_MAJOR GREATER 3) AND (LLVM_VERSION_MAJOR LESS 8) ) )
target_link_libraries(binder PRIVATE
${lib_llvm_so_path}
clang

clangAST
clangBasic
clangFrontend
clangTooling
)
endif()
if (LLVM_VERSION_MAJOR EQUAL 7)
target_link_libraries(binder
PRIVATE
${lib_llvm_so_path}
clangTooling
clangBasic
clangAST
clangFrontend
)
endif()
if ( (LLVM_VERSION_MAJOR EQUAL 8) OR (LLVM_VERSION_MAJOR EQUAL 9) )
target_link_libraries(binder
PRIVATE
Expand Down

0 comments on commit 1b04ca3

Please sign in to comment.