From Mourad Boufarguine,
"There is a redundant cmake code at the end of osgViewer cmake script. The install command is issued in SETUP_LIBRARY macro." "I spotted this when i tried a make install on the android port :) I saw some weird copy commands of osgViewer headers. I managed to get all osg headers copied to cmake_install_prefix/include upon make install, but i can't (yet) get the libraries to be copied to cmake_install_prefix/lib (see attached files)"
This commit is contained in:
@@ -249,13 +249,3 @@ IF(MINGW OR CYGWIN)
|
||||
ENDIF()
|
||||
|
||||
SETUP_LIBRARY(${LIB_NAME})
|
||||
|
||||
FOREACH(INCLUDEFILE ${TARGET_H} )
|
||||
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}
|
||||
COMPONENT libopenscenegraph-dev
|
||||
)
|
||||
ENDFOREACH()
|
||||
|
||||
Reference in New Issue
Block a user