From 7174a2741a6f7aa93c9d077dee384f8aa76d7a02 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Sun, 27 Oct 2024 20:35:58 -0500 Subject: Update warnings. --- CMakeLists.txt | 5 ++++- cmake/warnings.cmake | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d630056..da8a2b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,16 +119,19 @@ set(FUD_HEADERS "include/fud_utf8.hpp" "include/fud_utf8_iterator.hpp" "include/fud_vector.hpp" - "include/dragonbox/dragonbox.h" "${CMAKE_CURRENT_BINARY_DIR}/include/fud_config.hpp" ) set_target_properties(fud PROPERTIES PUBLIC_HEADER "${FUD_HEADERS}") +set_target_properties(fud PROPERTIES DRAGONBOX_HEADER "include/dragonbox/dragonbox.h") install(TARGETS fud EXPORT fud PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ + ) +install (DIRECTORY "include/dragonbox" + DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" ) include(cmake/CheckGit.cmake) CheckGitSetup(GIT_HASH) diff --git a/cmake/warnings.cmake b/cmake/warnings.cmake index da2c9ab..a2c5798 100644 --- a/cmake/warnings.cmake +++ b/cmake/warnings.cmake @@ -11,7 +11,7 @@ set(FUD_WARNINGS # types -Wlong-long -Wlong-long - -Winline + # -Winline # memory / data / array / string -Wsizeof-pointer-memaccess -Wpacked -- cgit v1.2.3