Fix header install rule.

develop
Petr Mrázek 2011-03-20 17:24:34 +01:00
parent 0a35afb16a
commit 7f0ba3b1ff
1 changed files with 3 additions and 1 deletions

@ -198,7 +198,9 @@ if(BUILD_DFHACK_DEVEL)
install(TARGETS dfhack
ARCHIVE DESTINATION ${DFHACK_DEVLIB_DESTINATION})
endif()
install(DIRECTORY include
# note the ending '/'. This means *constents* of the directory are installed
# without the '/', the directory itself is installed
install(DIRECTORY include/
DESTINATION ${DFHACK_INCLUDES_DESTINATION}
FILES_MATCHING PATTERN "*.h" ) #linux: include
endif()