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.
2 parents 6d76738 + af20b14 commit 07353e4Copy full SHA for 07353e4
cmake/macros/Private.cmake
@@ -540,7 +540,7 @@ function(_pxr_enable_precompiled_header TARGET_NAME)
540
# Headers live in subdirectories.
541
set(rel_output_header_path "${PXR_PREFIX}/${TARGET_NAME}/${output_header_name}")
542
set(abs_output_header_path "${PROJECT_BINARY_DIR}/include/${rel_output_header_path}")
543
- set(abs_precompiled_path ${PROJECT_BINARY_DIR}/include/${PXR_PREFIX}/${TARGET_NAME}/${precompiled_name})
+ set(abs_precompiled_path ${PROJECT_BINARY_DIR}/include/${PXR_PREFIX}/${TARGET_NAME}/${CMAKE_BUILD_TYPE}/${precompiled_name})
544
545
# Additional compile flags to use precompiled header. This will be
546
set(compile_flags "")
0 commit comments