Skip to content

Commit

Permalink
Properly install config.hh header (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neverlord committed May 6, 2024
1 parent 80204cb commit bd71af7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,6 @@ install(DIRECTORY libbroker/broker
PATTERN "libbroker/broker/internal" EXCLUDE
PATTERN "*.test.hh" EXCLUDE)

# install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/broker/config.hh DESTINATION include/broker)

if (NOT BROKER_EXTERNAL_SQLITE_TARGET)
include_directories(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/3rdparty)
set_source_files_properties(3rdparty/sqlite3.c PROPERTIES COMPILE_FLAGS
Expand Down
3 changes: 3 additions & 0 deletions libbroker/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/broker/config.hh.in
${CMAKE_CURRENT_BINARY_DIR}/broker/config.hh)

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/broker/config.hh
DESTINATION include/broker)

set(BROKER_SRC
# src/detail/core_recorder.cc
# src/detail/generator_file_reader.cc
Expand Down

0 comments on commit bd71af7

Please sign in to comment.