diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fbefda74..bdb9e1ce7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,6 @@ endif() # Triton file(GLOB_RECURSE LIBTRITON_SRC lib/*.cc) add_library(triton SHARED ${LIBTRITON_SRC} ${PYTHON_SRC}) -target_link_directories(triton PRIVATE ${LLVM_LIBRARY_DIRS}) +link_directories(${LLVM_LIBRARY_DIRS}) target_link_libraries(triton ${LLVM_LIBRARIES})