Skip to content

Commit

Permalink
Path fix
Browse files Browse the repository at this point in the history
Signed-off-by: Darby Johnston <darbyjohnston@yahoo.com>
  • Loading branch information
darbyjohnston committed Jan 16, 2025
1 parent 1d527ce commit 560dd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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='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")
# 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")
Expand Down

0 comments on commit 560dd7f

Please sign in to comment.