From c8e5e0931e7a2871cf6969810bce0a656e6cf9ea Mon Sep 17 00:00:00 2001 From: Mykola Hohsdze Date: Wed, 8 Feb 2023 00:14:34 +0200 Subject: [PATCH] Add cmake install path --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 040a5ecb..cf6de569 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -227,6 +227,11 @@ endif() # include(GNUInstallDirs) +if(CMAKE_SYSTEM_NAME MATCHES "Haiku") + set(CMAKE_INSTALL_LIBDIR ~/config/non-packaged/lib) + set(CMAKE_INSTALL_BINDIR ~/config/non-packaged/bin) + set(CMAKE_INSTALL_INCLUDEDIR ~/config/non-packaged/include) +endif() install(TARGETS cpu_features list_cpu_features EXPORT CpuFeaturesTargets PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/cpu_features