pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Telegram Desktop does not build



Am 09.03.24 um 09:04 schrieb Ramiro Aceves:
CMake Error at cmake/options.cmake:85 (message):
   Unknown platform type
Call Stack (most recent call first):
   CMakeLists.txt:35 (include)

This suggests that there is a hardcoded list of operating systems in cmake/options.cmake and NetBSD is not in it.

In fact, looking now, this is the relevant bit in the file:

if (WIN32)
    include(cmake/options_win.cmake)
elseif (APPLE)
    include(cmake/options_mac.cmake)
elseif (LINUX)
    include(cmake/options_linux.cmake)
else()
    message(FATAL_ERROR "Unknown platform type")
endif()

You could try adding a branch for NetBSD ad make it include the linux options. Good luck.

--
Benny


Home | Main Index | Thread Index | Old Index