Skip to content

Commit

Permalink
fix macro
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrantq committed May 15, 2024
1 parent b0cc1f3 commit 8acb959
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enzyme/Enzyme/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ set(LLVM_LINK_COMPONENTS Demangle)
file(GLOB ENZYME_SRC CONFIGURE_DEPENDS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
"*.cpp"
)
list(REMOVE_ITEM ENZYME_SRC "eopt.cpp")
list(REMOVE_ITEM ENZYME_SRC "eopt.cpp" "Herbie.cpp")
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

Expand All @@ -68,7 +68,7 @@ if(ENZYME_ENABLE_HERBIE)
list(APPEND ENZYME_SRC Herbie.cpp)
list(APPEND ENZYME_SRC herbie)
add_compile_definitions(ENZYME_ENABLE_HERBIE=1)
set_source_files_properties(Herbie.cpp PROPERTIES COMPILE_DEFINITIONS -DHERBIE_BINARY="${CMAKE_CURRENT_BINARY_DIR}/herbie/install/herbie")
set_source_files_properties(Herbie.cpp PROPERTIES COMPILE_DEFINITIONS HERBIE_BINARY="${CMAKE_CURRENT_BINARY_DIR}/herbie/install/herbie")
# include_directories(${CMAKE_CURRENT_BINARY_DIR}/herbie/install/include)
endif()

Expand Down

0 comments on commit 8acb959

Please sign in to comment.