diff --git a/src/coro_rpc/examples/user_defined_rpc_protocol/rest_rpc/CMakeLists.txt b/src/coro_rpc/examples/user_defined_rpc_protocol/rest_rpc/CMakeLists.txt index 90dd68c1c..2fdc0fc89 100644 --- a/src/coro_rpc/examples/user_defined_rpc_protocol/rest_rpc/CMakeLists.txt +++ b/src/coro_rpc/examples/user_defined_rpc_protocol/rest_rpc/CMakeLists.txt @@ -44,10 +44,6 @@ add_executable(coro_rpc_example_use_rest_rpc_protocol server/rpc_service.cpp ) -if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - target_link_libraries(coro_rpc_example_use_rest_rpc_protocol PRIVATE -lstdc++fs) -endif() - target_compile_definitions(coro_rpc_example_use_rest_rpc_protocol PRIVATE HAVE_MSGPACK) target_compile_definitions(coro_rpc_example_use_rest_rpc_protocol PRIVATE MSGPACK_NO_BOOST) diff --git a/src/easylog/tests/CMakeLists.txt b/src/easylog/tests/CMakeLists.txt index b9d1a8857..6fba451d8 100644 --- a/src/easylog/tests/CMakeLists.txt +++ b/src/easylog/tests/CMakeLists.txt @@ -5,7 +5,4 @@ add_executable(easylog_test ) add_test(NAME easylog_test COMMAND easylog_test) target_compile_definitions(easylog_test PRIVATE STRUCT_PACK_ENABLE_UNPORTABLE_TYPE) -if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - target_link_libraries(easylog_test PRIVATE -lstdc++fs) -endif()