Commit e71b3530 by Nicolas Mellado

Add install target in CMakefile

parent cc6563f3
Showing with 11 additions and 0 deletions
......@@ -43,6 +43,17 @@ endif()
#endif()
################################################################################
# Generate install target #
################################################################################
if (NOT INCLUDE_INSTALL_DIR)
set(INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/include)
endif (NOT INCLUDE_INSTALL_DIR)
install(DIRECTORY Patate DESTINATION ${INCLUDE_INSTALL_DIR} FILES_MATCHING REGEX ".*\\.(hpp|h)$")
message("Patate will be installed in ${INCLUDE_INSTALL_DIR}/Patate")
################################################################################
# Generate Vitelotte's shaders #
# TODO: find a more appropriate place for this. #
################################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment