diff --git a/opensubdiv/CMakeLists.txt b/opensubdiv/CMakeLists.txt index c6bff108..151187ce 100644 --- a/opensubdiv/CMakeLists.txt +++ b/opensubdiv/CMakeLists.txt @@ -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 ) diff --git a/opensubdiv/osdutil/CMakeLists.txt b/opensubdiv/osdutil/CMakeLists.txt index 2a437b6e..c8f60ec7 100644 --- a/opensubdiv/osdutil/CMakeLists.txt +++ b/opensubdiv/osdutil/CMakeLists.txt @@ -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