diff --git a/src/native/corehost/apphost/static/CMakeLists.txt b/src/native/corehost/apphost/static/CMakeLists.txt index 25c1d55e7360c..1b96992982e43 100644 --- a/src/native/corehost/apphost/static/CMakeLists.txt +++ b/src/native/corehost/apphost/static/CMakeLists.txt @@ -176,7 +176,13 @@ else() coreclrpal_dac corguids dbgutil - eventprovider + ) + if (FEATURE_EVENT_TRACE) + LIST(APPEND NATIVE_LIBS + eventprovider + ) + endif(FEATURE_EVENT_TRACE) + LIST(APPEND NATIVE_LIBS nativeresourcestring )