mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-29 13:03:38 +01:00
cmake: fix include bits/ not being installed
The file(EXISTS) command needs absolute paths.
This commit is contained in:
parent
d6f606fa5c
commit
24c6873429
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ 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 "${CMAKE_CURRENT_SOURCE_DIR}/include/target/${FOLDER}")
|
||||||
install(DIRECTORY include/target/${FOLDER}/ DESTINATION include)
|
install(DIRECTORY include/target/${FOLDER}/ DESTINATION include)
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
Loading…
Reference in a new issue