mirror of
https://github.com/yuzu-mirror/oaknut.git
synced 2026-04-21 06:03:37 +00:00
cmake: add export rules
This commit is contained in:
parent
ff4d788617
commit
a75c1144e4
1 changed files with 9 additions and 0 deletions
|
|
@ -85,3 +85,12 @@ if (MASTER_PROJECT)
|
|||
target_compile_options(oaknut-tests PRIVATE -Wall -Wextra -Wcast-qual -pedantic -pedantic-errors -Wfatal-errors -Wno-missing-braces)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Export
|
||||
include(GNUInstallDirs)
|
||||
|
||||
install(TARGETS oaknut EXPORT oaknutTargets)
|
||||
install(EXPORT oaknutTargets
|
||||
NAMESPACE merry::
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/oaknut"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue