File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -540,7 +540,7 @@ foreach(target IN LISTS all_install_header_targets)
540
540
message (FATAL_ERROR "Installable header file '${target} ' does not have the "
541
541
"HEADER_FILE_PATH property set." )
542
542
endif ()
543
- file (RELATIVE_PATH relative_path ${LIBC_INCLUDE_BINARY_DIR } ${header_file} )
543
+ file (RELATIVE_PATH relative_path ${LIBC_INCLUDE_DIR } ${header_file} )
544
544
get_filename_component (nested_dir ${relative_path} DIRECTORY )
545
545
install (FILES ${header_file}
546
546
DESTINATION ${LIBC_INSTALL_INCLUDE_DIR} /${nested_dir}
@@ -554,7 +554,7 @@ foreach(target IN LISTS all_install_header_targets)
554
554
continue ()
555
555
endif ()
556
556
get_clang_resource_dir (resource_dir SUBDIR include )
557
- file (RELATIVE_PATH relative_path ${LIBC_INCLUDE_BINARY_DIR } ${decls_file} )
557
+ file (RELATIVE_PATH relative_path ${LIBC_INCLUDE_DIR } ${decls_file} )
558
558
get_filename_component (nested_dir ${relative_path} DIRECTORY )
559
559
set (install_dir
560
560
${CMAKE_INSTALL_PREFIX} /${resource_dir}/llvm_libc_wrappers/${nested_dir} )
You can’t perform that action at this time.
0 commit comments