diff --git a/CMakeLists.txt b/CMakeLists.txt index 187368d03..509cff8b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -150,7 +150,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) if(OTIO_CXX_COVERAGE AND NOT MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-exclude-files='rapidjson/*' -fprofile-exclude-files=src/opentimelineio/typeRegistry.h") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-exclude-files='src/deps/rapidjson/*' -fprofile-exclude-files=src/opentimelineio/typeRegistry.h") # this causes cmake to produce file.gcno instead of file.cpp.gcno set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1) message(STATUS "Building C++ with Coverage: ON")