cmake: remove unneeded separators in install paths

This commit is contained in:
Lephenixnoir 2021-05-16 18:01:21 +02:00
parent 471d6ea820
commit 4933d9c19f
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 2 additions and 2 deletions

View File

@ -134,10 +134,10 @@ set_target_properties(fxlibc PROPERTIES
# Install
install(TARGETS fxlibc DESTINATION lib/)
install(DIRECTORY include/ DESTINATION include/ PATTERN "target" EXCLUDE)
install(DIRECTORY include/ DESTINATION include PATTERN "target" EXCLUDE)
foreach(FOLDER IN LISTS TARGET_FOLDERS)
if(EXISTS include/target/${FOLDER}/)
install(DIRECTORY include/target/${FOLDER}/ DESTINATION include/)
install(DIRECTORY include/target/${FOLDER}/ DESTINATION include)
endif()
endforeach()