Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ target_include_directories(QuEST
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/quest/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
set_target_properties(QuEST PROPERTIES
Expand Down Expand Up @@ -650,7 +650,7 @@ install(FILES
)

install(FILES
"${CMAKE_CURRENT_BINARY_DIR}/include/quest/include/config.h"
"${CMAKE_CURRENT_BINARY_DIR}/quest/include/config.h"
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/quest/include"
)

Expand Down
2 changes: 1 addition & 1 deletion quest/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# through compiler flags and the associated conflicts arising when
# installing QuEST. Note that config.h must be manually created when
# not compiling via CMake, e.g. when using a custom build script
configure_file(config.h.in "${CMAKE_BINARY_DIR}/include/quest/include/config.h" @ONLY)
configure_file(config.h.in config.h @ONLY)