Haiku bug fixes.

This commit is contained in:
casey langen 2022-12-24 19:23:54 -08:00
parent 4839b0cfbe
commit a702285ba9
2 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ namespace musik { namespace core {
if (ii.type == B_APP_IMAGE) {
if (strlen(ii.name)) {
std::string fn(ii.name);
result = fs::u8path(fn).parent_path().u8string();
result = fs::u8path(fn).u8string();
}
}
}

View File

@ -104,7 +104,7 @@ if (APPLE)
set(PANEL_LIBRARY_NAME "lib${PANEL_LIBRARY_NAME}.a")
endif()
else()
if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD" OR CMAKE_SYSTEM_NAME MATCHES "Haiku")
message(STATUS "[ncurses] detected OpenBSD, unsetting LIBTINFO")
set(LIBTINFO "")
else()