This commit is contained in:
buzz 2025-12-10 06:53:58 -05:00 committed by GitHub
commit 1e066a0c67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@ if(MSVC)
set(CMAKE_INSTALL_DOCDIR "." CACHE PATH "Documentation root")
endif()
include(GNUInstallDirs)
include(CheckCCompilerFlag)
include(CMakeDependentOption)
include(TestBigEndian)
@ -160,7 +161,7 @@ endif()
if(DETHRACE_INSTALL)
install(FILES LICENSE
DESTINATION "."
DESTINATION "${CMAKE_INSTALL_DOCDIR}"
)
set(DETHRACE_PACKAGE_PLATFORM "" CACHE STRING "Dethrace binary package platform")

View File

@ -240,7 +240,7 @@ endif()
if(DETHRACE_INSTALL)
install(TARGETS dethrace
BUNDLE DESTINATION . COMPONENT Runtime
RUNTIME DESTINATION . COMPONENT Runtime
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT Runtime
)
if(APPLE)