Update Linux install paths to be FHS compliant. Windows paths should be unchanged.

This commit is contained in:
Matt Williams
2009-08-31 18:25:26 +00:00
parent 099c5c7fbf
commit 9df6288c67
5 changed files with 60 additions and 27 deletions

View File

@ -70,13 +70,25 @@ IF(WIN32)
ENDIF(WIN32)
#Install
INSTALL(TARGETS PolyVoxCore
RUNTIME DESTINATION PolyVoxCore/bin
LIBRARY DESTINATION PolyVoxCore/lib
ARCHIVE DESTINATION PolyVoxCore/lib
COMPONENT library
)
IF(WIN32)
INSTALL(TARGETS PolyVoxCore
RUNTIME DESTINATION PolyVoxCore/bin
LIBRARY DESTINATION PolyVoxCore/lib
ARCHIVE DESTINATION PolyVoxCore/lib
COMPONENT library
)
#Install the core header files, including the ones in the PolyVoxImpl subfolder.
INSTALL(DIRECTORY include DESTINATION PolyVoxCore COMPONENT development PATTERN "*.svn*" EXCLUDE)
#Install the core header files, including the ones in the PolyVoxImpl subfolder.
INSTALL(DIRECTORY include DESTINATION PolyVoxCore COMPONENT development PATTERN "*.svn*" EXCLUDE)
ELSE(WIN32)
INSTALL(TARGETS PolyVoxCore
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
COMPONENT library
)
#Install the core header files, including the ones in the PolyVoxImpl subfolder.
INSTALL(DIRECTORY include/ DESTINATION include/PolyVoxCore COMPONENT development PATTERN "*.svn*" EXCLUDE)
ENDIF(WIN32)