Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
From Serge Lages, support for install api directories, with tweaks fr…
…om Robert Osfield
  • Loading branch information
Robert OSFIELD committed May 24, 2007
1 parent 2d2b67e commit 93c2f0d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/osgViewer/CMakeLists.txt
Expand Up @@ -80,5 +80,13 @@ IF(MINGW OR CYGWIN)
LINK_EXTERNAL(${LIB_NAME} gdi32 )
ENDIF(MINGW OR CYGWIN)


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)

0 comments on commit 93c2f0d

Please sign in to comment.