We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d527ce commit 560dd7fCopy full SHA for 560dd7f
CMakeLists.txt
@@ -150,7 +150,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
150
set(CMAKE_CXX_EXTENSIONS OFF)
151
152
if(OTIO_CXX_COVERAGE AND NOT MSVC)
153
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-exclude-files='src/deps/rapidjson/*' -fprofile-exclude-files=src/opentimelineio/typeRegistry.h")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-exclude-files='${PROJECT_SOURCE_DIR}/src/deps/rapidjson/*' -fprofile-exclude-files=${PROJECT_SOURCE_DIR}/src/opentimelineio/typeRegistry.h")
154
# this causes cmake to produce file.gcno instead of file.cpp.gcno
155
set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1)
156
message(STATUS "Building C++ with Coverage: ON")
0 commit comments