Skip to content

Commit

Permalink
fix cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jun 7, 2024
1 parent 6adb26b commit cb4a6f3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/metric/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,3 @@ add_executable(metric_test
test_metric.cpp
)
add_test(NAME metric_test COMMAND metric_test)
target_compile_definitions(metric_test PRIVATE STRUCT_PACK_ENABLE_UNPORTABLE_TYPE)
if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
target_link_libraries(metric_test PRIVATE -lstdc++fs)
endif()

0 comments on commit cb4a6f3

Please sign in to comment.