diff options
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rw-r--r-- | 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 |