Skip to content

Commit

Permalink
Fixes config file generation location.
Browse files Browse the repository at this point in the history
The generated config file needs to placed in the CURRENT_BINARY_DIR not
just the BINARY_DIR. In cases where phasar is embedded, e.g., in the case of an llvm in-tree build, the binary dirs differ and break the build.
  • Loading branch information
vulder committed Dec 21, 2020
1 parent 3e8d2f4 commit c33a31b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ else()
endif()

configure_file(config.h.in config.h @ONLY)
include_directories(${CMAKE_BINARY_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR})


include_directories(
Expand Down

0 comments on commit c33a31b

Please sign in to comment.