Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Commit 7aec3d6

Browse files
author
Mingzhe Li
committed
Add TC_DIR to CMake
1 parent 7f429a4 commit 7aec3d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ message(STATUS "CMAKE_INSTALL_PREFIX is ${CMAKE_INSTALL_PREFIX}")
2727

2828
add_subdirectory(third-party/pybind11)
2929

30+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTC_DIR=\"\\\"$ENV{TC_DIR}\\\"\" ")
31+
3032
set(LLVM_DIR ${CLANG_PREFIX}/lib/cmake/llvm)
3133
message(STATUS "Looking for LLVM in ${LLVM_DIR}")
3234
find_package(LLVM REQUIRED LLVM)

0 commit comments

Comments
 (0)