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
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -134,10 +134,10 @@ set_target_properties(fxlibc PROPERTIES
# Install # Install
install(TARGETS fxlibc DESTINATION lib/) 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) foreach(FOLDER IN LISTS TARGET_FOLDERS)
if(EXISTS include/target/${FOLDER}/) if(EXISTS include/target/${FOLDER}/)
install(DIRECTORY include/target/${FOLDER}/ DESTINATION include/) install(DIRECTORY include/target/${FOLDER}/ DESTINATION include)
endif() endif()
endforeach() endforeach()