Skip to content

Commit

Permalink
Provide spdlog_header_only in build directory export (#2846)
Browse files Browse the repository at this point in the history
Fixes #2678
  • Loading branch information
robertmaynard authored Aug 7, 2023
1 parent 811bc4c commit 2312489
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 @@ -344,7 +344,7 @@ if(SPDLOG_INSTALL)
# ---------------------------------------------------------------------------------------
# Install CMake config files
# ---------------------------------------------------------------------------------------
export(TARGETS spdlog NAMESPACE spdlog:: FILE "${CMAKE_CURRENT_BINARY_DIR}/${config_targets_file}")
export(TARGETS spdlog spdlog_header_only NAMESPACE spdlog:: FILE "${CMAKE_CURRENT_BINARY_DIR}/${config_targets_file}")
install(EXPORT spdlog DESTINATION ${export_dest_dir} NAMESPACE spdlog:: FILE ${config_targets_file})

include(CMakePackageConfigHelpers)
Expand Down

0 comments on commit 2312489

Please sign in to comment.