summaryrefslogtreecommitdiff
path: root/functions.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'functions.cmake')
-rw-r--r--functions.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions.cmake b/functions.cmake
index df2216c885..f8a2eeae04 100644
--- a/functions.cmake
+++ b/functions.cmake
@@ -179,6 +179,11 @@ function(install_clr targetName)
else()
install(FILES ${strip_destination_file} DESTINATION .)
endif()
+ if(CLR_CMAKE_PGO_INSTRUMENT)
+ if(WIN32)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/$<CONFIG>/${targetName}.pgd DESTINATION PGD OPTIONAL)
+ endif()
+ endif()
endif()
endfunction()