Merge pull request #28 from steve6390/hotfix-1.3

Copy include files to installation directory.
This commit is contained in:
Ariel Vina-Rodriguez 2016-02-28 22:30:32 +01:00
commit 312b740354
2 changed files with 6 additions and 0 deletions

View File

@ -225,6 +225,10 @@ install(TARGETS ${PROJECT_NAME}
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib)
# Install include directories too.
install(DIRECTORY ${CMAKE_SOURCE_DIR}/include/nana
DESTINATION include)
set_property( TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14 )
# TODO: move this nana-demo section to the nana demo repository, and here only include that cmake file

View File

@ -60,6 +60,8 @@ namespace std {
} // experimental
} // std
#elif (__GNUC__)
# include <experimental/filesystem>
#else
# include <filesystem>
#endif