diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-11 15:04:55 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-11 15:04:55 +0300 |
commit | 7028871fef378c457c51029561ee5997907dad91 (patch) | |
tree | 3b837bf28a838d7ab62651864b9eac23aa708198 /CMakeLists.txt | |
parent | 33a241d22984e003a4943c3615bb6959d9a85156 (diff) |
Finally useful things to fix from the new github actions CI:
- cmake install on Windows now ought to work.
- Fix failure to compile on 32 bit POSIX.
- Fix failure to compile in status_code config on Mac OS.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eb5b766d..a9f3d33c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -412,4 +412,13 @@ include(QuickCppLibCacheLibrarySources) # Make available this library for install and export include(QuickCppLibMakeInstall) +if(WIN32) + install(TARGETS ntkernel-error-category_hl ntkernel-error-category_sl ntkernel-error-category_dl + EXPORT llfioExports + INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" + ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" + LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" + ) +endif() include(QuickCppLibMakeExport) |