Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Don't try to build on BSD #142

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions lttngpy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ endif()

find_package(ament_cmake REQUIRED)

if(WIN32 OR APPLE OR ANDROID)
if(WIN32 OR APPLE OR ANDROID OR BSD)
set(DISABLED_DEFAULT ON)
else()
set(DISABLED_DEFAULT OFF)
Expand Down Expand Up @@ -92,7 +92,7 @@ endif()

pybind11_add_module(_lttngpy_pybind11 SHARED ${SOURCES})

if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT APPLE)
if(CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT APPLE AND NOT BSD)
target_link_libraries(_lttngpy_pybind11 PRIVATE atomic)
endif()

Expand Down
2 changes: 1 addition & 1 deletion test_tracetools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ endif()

find_package(ament_cmake REQUIRED)

if(WIN32 OR APPLE OR ANDROID)
if(WIN32 OR APPLE OR ANDROID OR BSD)
set(DISABLED_DEFAULT ON)
else()
set(DISABLED_DEFAULT OFF)
Expand Down
2 changes: 1 addition & 1 deletion tracetools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ endif()
find_package(ament_cmake_gen_version_h REQUIRED)
find_package(ament_cmake_ros REQUIRED)

if(WIN32 OR APPLE OR ANDROID)
if(WIN32 OR APPLE OR ANDROID OR BSD)
set(DISABLED_DEFAULT ON)
set(STATUS_CHECKING_TOOL_DEFAULT OFF)
else()
Expand Down
Loading