From 2122a9f8df629a167315e1e828ac1eb7f1789a47 Mon Sep 17 00:00:00 2001 From: Rakesh R Date: Tue, 19 Mar 2024 15:59:13 -0400 Subject: [PATCH] Update CMakeLists to exclude pdb when running code coverage --- .../flowViewportAPIExamples/footPrintNode/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/mayaHydra/flowViewportAPIExamples/footPrintNode/CMakeLists.txt b/lib/mayaHydra/flowViewportAPIExamples/footPrintNode/CMakeLists.txt index 6ff03b6b0f..ee1d5ff7cf 100644 --- a/lib/mayaHydra/flowViewportAPIExamples/footPrintNode/CMakeLists.txt +++ b/lib/mayaHydra/flowViewportAPIExamples/footPrintNode/CMakeLists.txt @@ -88,8 +88,10 @@ install(TARGETS ${TARGET_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/maya) if(IS_WINDOWS) - install(FILES $ - DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/maya OPTIONAL) + if (NOT CODE_COVERAGE) + install(FILES $ + DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/maya OPTIONAL) + endif() endif() set(LIBFILENAME ${CMAKE_SHARED_LIBRARY_PREFIX}${TARGET_NAME}${CMAKE_SHARED_LIBRARY_SUFFIX})