diff --git a/discovery/CMakeLists.txt b/discovery/CMakeLists.txt index 84f48ca47..9e409d1c4 100644 --- a/discovery/CMakeLists.txt +++ b/discovery/CMakeLists.txt @@ -99,7 +99,7 @@ if (BUILD_DEPS) endif() endif() -aws_add_sanitizer(${PROJECT_NAME}) +aws_add_sanitizers(${PROJECT_NAME}) target_link_libraries(Discovery-cpp ${DEP_AWS_LIBS}) install(FILES ${AWS_DISCOVERY_HEADERS} DESTINATION "include/aws/discovery/" COMPONENT Development) diff --git a/eventstream_rpc/CMakeLists.txt b/eventstream_rpc/CMakeLists.txt index 1d6e0c397..2a890005c 100644 --- a/eventstream_rpc/CMakeLists.txt +++ b/eventstream_rpc/CMakeLists.txt @@ -97,7 +97,7 @@ if (NOT IS_SUBDIRECTORY_INCLUDE) aws_use_package(aws-crt-cpp) endif() -aws_add_sanitizer(${PROJECT_NAME}) +aws_add_sanitizers(${PROJECT_NAME}) target_link_libraries(EventstreamRpc-cpp PUBLIC ${DEP_AWS_LIBS}) install(FILES ${AWS_EVENTSTREAMRPC_HEADERS} DESTINATION "include/aws/eventstreamrpc/" COMPONENT Development) diff --git a/eventstream_rpc/tests/CMakeLists.txt b/eventstream_rpc/tests/CMakeLists.txt index 6d7d99d3d..34f726082 100644 --- a/eventstream_rpc/tests/CMakeLists.txt +++ b/eventstream_rpc/tests/CMakeLists.txt @@ -47,7 +47,7 @@ add_test_case(OperateWhileDisconnected) #add_test_case(EchoOperation) #add_test_case(StressTestClient) generate_cpp_test_driver(${TEST_BINARY_NAME}) -aws_add_sanitizer(${TEST_BINARY_NAME}) +aws_add_sanitizers(${TEST_BINARY_NAME}) target_include_directories(${TEST_BINARY_NAME} PUBLIC $ $) diff --git a/greengrass_ipc/CMakeLists.txt b/greengrass_ipc/CMakeLists.txt index a2fc34301..4950105cb 100644 --- a/greengrass_ipc/CMakeLists.txt +++ b/greengrass_ipc/CMakeLists.txt @@ -105,7 +105,7 @@ if (NOT IS_SUBDIRECTORY_INCLUDE) aws_use_package(aws-crt-cpp) endif() -aws_add_sanitizer(${PROJECT_NAME}) +aws_add_sanitizers(${PROJECT_NAME}) target_link_libraries(GreengrassIpc-cpp PUBLIC ${DEP_AWS_LIBS}) install(FILES ${AWS_GREENGRASSIPC_HEADERS} DESTINATION "include/aws/greengrass/" COMPONENT Development) diff --git a/identity/CMakeLists.txt b/identity/CMakeLists.txt index d0eb1173f..60ead73e2 100644 --- a/identity/CMakeLists.txt +++ b/identity/CMakeLists.txt @@ -91,7 +91,7 @@ else() COMPONENT Development) endif() -aws_add_sanitizer(${PROJECT_NAME}) +aws_add_sanitizers(${PROJECT_NAME}) target_include_directories(IotIdentity-cpp PUBLIC $ $)