Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix FreeBSD build error: "Cannot find source file: plat/plat/default/debugging.cpp" #3158

Merged
merged 1 commit into from
Apr 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions nano/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(platform_sources plat/linux/priority.cpp plat/posix/perms.cpp
plat/linux/thread_role.cpp plat/linux/debugging.cpp)
elseif(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
set(platform_sources
plat/default/priority.cpp plat/posix/perms.cpp
plat/freebsd/thread_role.cpp plat/plat/default/debugging.cpp)
set(platform_sources plat/default/priority.cpp plat/posix/perms.cpp
plat/freebsd/thread_role.cpp plat/default/debugging.cpp)
else()
error("Unknown platform: ${CMAKE_SYSTEM_NAME}")
endif()
Expand Down