Revert setting hardcoded install paths on Haiku #788, by @begasus

This commit is contained in:
Daan 2024-03-02 16:44:06 -08:00
parent 5d22157dc8
commit c541a9b32e

View file

@ -263,10 +263,11 @@ if(MI_USE_CXX)
endif() endif()
endif() endif()
if(CMAKE_SYSTEM_NAME MATCHES "Haiku") # On Haiku use `-DCMAKE_INSTALL_PREFIX` instead, issue #788
SET(CMAKE_INSTALL_LIBDIR ~/config/non-packaged/lib) # if(CMAKE_SYSTEM_NAME MATCHES "Haiku")
SET(CMAKE_INSTALL_INCLUDEDIR ~/config/non-packaged/headers) # SET(CMAKE_INSTALL_LIBDIR ~/config/non-packaged/lib)
endif() # SET(CMAKE_INSTALL_INCLUDEDIR ~/config/non-packaged/headers)
# endif()
# Compiler flags # Compiler flags
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU") if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU")