1
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
# Install all the header files in Include/
|
||||
|
||||
set(includedir ${INCLUDE_BUILD_DIR})
|
||||
file(GLOB_RECURSE hfiles RELATIVE ${includedir} "${includedir}/*")
|
||||
|
||||
foreach(file ${hfiles})
|
||||
get_filename_component(path ${file} PATH)
|
||||
if(WIN32)
|
||||
file(COPY ${includedir}/${file} DESTINATION ${PROJECT_BINARY_DIR}/${INCLUDE_INSTALL_DIR}/${path})
|
||||
endif()
|
||||
if(INSTALL_DEVELOPMENT)
|
||||
install(FILES ${includedir}/${file} DESTINATION ${INCLUDE_INSTALL_DIR}/${path} COMPONENT Development)
|
||||
endif()
|
||||
endforeach()
|
||||
Reference in New Issue
Block a user