summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-27 20:35:58 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-27 20:35:58 -0500
commit7174a2741a6f7aa93c9d077dee384f8aa76d7a02 (patch)
tree6279d0d11052d611e2af58f7c0bcc0ac2e1cd39f
parentcbf3ad2b284a9e79ef5df564be6b16e8e746cb2b (diff)
Update warnings.
-rw-r--r--CMakeLists.txt5
-rw-r--r--cmake/warnings.cmake2
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