mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-07 09:54:55 +00:00
Haiku bug fixes.
This commit is contained in:
parent
4839b0cfbe
commit
a702285ba9
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user