Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental authored Jan 20, 2025
1 parent 73a381e commit 2c6a1ab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions projects/eudsl-llvmpy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,11 @@ include_directories(${EUDSLLLVM_SRC_DIR})
execute_process(
COMMAND "${Python_EXECUTABLE}" "${CMAKE_CURRENT_LIST_DIR}/eudsl-llvmpy-generate.py"
${LLVM_INCLUDE_DIRS}/llvm-c "${EUDSLLLVM_BINARY_DIR}/generated"
RESULT_VARIABLE _has_err_generate
)
if (_has_err_generate AND NOT _has_err_generate EQUAL 0)
message(FATAL_ERROR "couldn't generate sources: ${_has_err_generate}")
endif()
include_directories("${EUDSLLLVM_BINARY_DIR}/generated")
file(GLOB _gen_src CONFIGURE_DEPENDS "${EUDSLLLVM_BINARY_DIR}/generated/*.cpp")

Expand Down

0 comments on commit 2c6a1ab

Please sign in to comment.