CMake: install all the libcalamares subdir-headers
This commit is contained in:
parent
14ff681106
commit
3c770b79b3
@ -193,13 +193,18 @@ install( CODE "
|
|||||||
|
|
||||||
# Install header files
|
# Install header files
|
||||||
file( GLOB rootHeaders "*.h" )
|
file( GLOB rootHeaders "*.h" )
|
||||||
file( GLOB kdsingleapplicationguardHeaders "kdsingleapplicationguard/*.h" )
|
|
||||||
file( GLOB utilsHeaders "utils/*.h" )
|
file( GLOB utilsHeaders "utils/*.h" )
|
||||||
|
|
||||||
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/CalamaresConfig.h DESTINATION include/libcalamares )
|
install(
|
||||||
install( FILES ${rootHeaders} DESTINATION include/libcalamares )
|
FILES
|
||||||
install( FILES ${kdsingleapplicationguardHeaders} DESTINATION include/libcalamares/kdsingleapplicationguard )
|
${CMAKE_CURRENT_BINARY_DIR}/CalamaresConfig.h
|
||||||
install( FILES ${utilsHeaders} DESTINATION include/libcalamares/utils )
|
${rootHeaders}
|
||||||
|
DESTINATION include/libcalamares
|
||||||
|
)
|
||||||
|
foreach( subdir geoip locale modulesystem network partition utils )
|
||||||
|
file( GLOB subdir_headers "${subdir}/*.h" )
|
||||||
|
install( FILES ${subdir_headers} DESTINATION include/libcalamares/${subdir} )
|
||||||
|
endforeach()
|
||||||
|
|
||||||
### TESTING
|
### TESTING
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user