diff --git a/CMakeLists.txt b/CMakeLists.txt index 42ad3d7..44541eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()