issue #198 Cmake build failing to find c2mir header

ravi-compiler
Dibyendu Majumdar 4 years ago
parent 48617fda44
commit a45eaa8a24

@ -147,6 +147,9 @@ if (RAVICOMP AND MIR_JIT)
set_property(SOURCE ${RAVICOMP_SRCS}
APPEND
PROPERTY INCLUDE_DIRECTORIES ${RAVICOMP_INCLUDE_DIRS})
set_property(SOURCE ${RAVICOMP_SRCS}
APPEND
PROPERTY INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/mir;${CMAKE_SOURCE_DIR}/mir/c2mir")
if ($ENV{CLION_IDE})
# CLion seems unable to handle include paths set on sources
include_directories(${RAVICOMP_INCLUDE_DIRS})

Loading…
Cancel
Save