Skip to content

Commit

Permalink
This build requires LLVM, does not need ncurses - modify CMakeLists.t…
Browse files Browse the repository at this point in the history
…xt to match
  • Loading branch information
nemerle committed Feb 13, 2016
1 parent 3561de6 commit 97f093f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ enable_testing()
ENDIF()


IF(LLVM_EXPERIMENTAL)
FIND_PACKAGE(LLVM)

find_package(LLVM REQUIRED CONFIG)
llvm_map_components_to_libnames(REQ_LLVM_LIBRARIES native mc support tablegen)
ENDIF()

INCLUDE_DIRECTORIES(
3rd_party/libdisasm
include
Expand Down Expand Up @@ -135,7 +135,7 @@ qt5_use_modules(dcc_lib Core)

ADD_EXECUTABLE(dcc_original ${dcc_SOURCES} ${dcc_HEADERS})
ADD_DEPENDENCIES(dcc_original dcc_lib)
TARGET_LINK_LIBRARIES(dcc_original dcc_lib dcc_hash disasm_s ${REQ_LLVM_LIBRARIES} ncurses LLVMSupport)
TARGET_LINK_LIBRARIES(dcc_original dcc_lib dcc_hash disasm_s ${REQ_LLVM_LIBRARIES} LLVMSupport)
qt5_use_modules(dcc_original Core)
#ADD_SUBDIRECTORY(gui)
if(dcc_build_tests)
Expand Down

0 comments on commit 97f093f

Please sign in to comment.