cmake: use ${CMAKE_INCDIR_BASE} instead of hard-coding "include"

This commit is contained in:
David Aguilar 2013-08-01 13:26:30 -07:00
parent a30101482a
commit fc1efa5153
2 changed files with 2 additions and 2 deletions

View File

@ -36,5 +36,5 @@ add_subdirectory(osd)
add_subdirectory(osdutil)
install( FILES version.h
DESTINATION include/
DESTINATION ${CMAKE_INCDIR_BASE}
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ )

View File

@ -57,7 +57,7 @@ list(APPEND DOXY_HEADER_FILES ${OPENCL_PUBLIC_HEADER_FILES} )
_add_doxy_headers( "${DOXY_HEADER_FILES}" )
install( FILES ${PUBLIC_HEADER_FILES}
DESTINATION include/osdutil
DESTINATION ${CMAKE_INCDIR_BASE}/osdutil
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ )
# platform dependent tweaks