From Serge Lages, support for install api directories, with tweaks from Robert Osfield
This commit is contained in:
parent
6918cc69e9
commit
babee83194
@ -80,5 +80,13 @@ IF(MINGW OR CYGWIN)
|
|||||||
LINK_EXTERNAL(${LIB_NAME} gdi32 )
|
LINK_EXTERNAL(${LIB_NAME} gdi32 )
|
||||||
ENDIF(MINGW OR CYGWIN)
|
ENDIF(MINGW OR CYGWIN)
|
||||||
|
|
||||||
|
|
||||||
INCLUDE(ModuleInstall OPTIONAL)
|
INCLUDE(ModuleInstall OPTIONAL)
|
||||||
|
|
||||||
|
FOREACH( INCLUDEFILE ${LIB_PUBLIC_HEADERS} )
|
||||||
|
FILE(RELATIVE_PATH REL_INCLUDEFILE ${HEADER_PATH} ${INCLUDEFILE})
|
||||||
|
GET_FILENAME_COMPONENT(REL_INCLUDE_PATH ${REL_INCLUDEFILE} PATH)
|
||||||
|
INSTALL(
|
||||||
|
FILES ${INCLUDEFILE}
|
||||||
|
DESTINATION ${INSTALL_INCDIR}/${LIB_NAME}/${REL_INCLUDE_PATH}
|
||||||
|
)
|
||||||
|
ENDFOREACH( INCLUDEFILE)
|
||||||
|
Loading…
Reference in New Issue
Block a user