diff --git a/OpenEXR_CTL/CtlModules/CMakeLists.txt b/OpenEXR_CTL/CtlModules/CMakeLists.txt index c63c22e6..14054d11 100644 --- a/OpenEXR_CTL/CtlModules/CMakeLists.txt +++ b/OpenEXR_CTL/CtlModules/CMakeLists.txt @@ -1,7 +1,7 @@ -install( +install( FILES utilities.ctl - DESTINATION - ${INSTALL_LIB_DIR}/CTL + DESTINATION + ${CMAKE_INSTALL_DATADIR}/CTL ) diff --git a/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt b/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt index e4a414e3..6750a362 100644 --- a/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt +++ b/OpenEXR_CTL/exr_ctl_exr/CMakeLists.txt @@ -37,6 +37,6 @@ target_link_libraries (exr_ctl_exr #target_link_libraries( exr_ctl_exr ${IlmBase_LIBRARIES} ${IlmBase_LDFLAGS_OTHER} ) #target_link_libraries( exr_ctl_exr ${OpenEXR_LIBRARIES} ${OpenEXR_LDFLAGS_OTHER} ) -install( TARGETS exr_ctl_exr DESTINATION ${INSTALL_BIN_DIR} ) +install( TARGETS exr_ctl_exr DESTINATION ${CMAKE_INSTALL_BINDIR} ) -install( FILES change_saturation.ctl DESTINATION ${INSTALL_LIB_DIR}/CTL ) +install( FILES change_saturation.ctl DESTINATION ${CMAKE_INSTALL_DATADIR}/CTL ) diff --git a/OpenEXR_CTL/exrdpx/CMakeLists.txt b/OpenEXR_CTL/exrdpx/CMakeLists.txt index 8099d4a4..ec3acf79 100644 --- a/OpenEXR_CTL/exrdpx/CMakeLists.txt +++ b/OpenEXR_CTL/exrdpx/CMakeLists.txt @@ -37,8 +37,8 @@ target_link_libraries (exrdpx #target_link_libraries( exrdpx ${IlmBase_LIBRARIES} ${IlmBase_LDFLAGS_OTHER} ) #target_link_libraries( exrdpx ${OpenEXR_LIBRARIES} ${OpenEXR_LDFLAGS_OTHER} ) -install( TARGETS exrdpx DESTINATION ${INSTALL_BIN_DIR} ) +install( TARGETS exrdpx DESTINATION ${CMAKE_INSTALL_BINDIR} ) -install( FILES transform_DPX_EXR.ctl transform_EXR_DPX.ctl DESTINATION ${INSTALL_LIB_DIR}/CTL ) +install( FILES transform_DPX_EXR.ctl transform_EXR_DPX.ctl DESTINATION ${CMAKE_INSTALL_DATADIR}/CTL ) diff --git a/lib/IlmImfCtl/CMakeLists.txt b/lib/IlmImfCtl/CMakeLists.txt index ee70ec35..80f7a1a0 100644 --- a/lib/IlmImfCtl/CMakeLists.txt +++ b/lib/IlmImfCtl/CMakeLists.txt @@ -38,7 +38,7 @@ target_link_libraries (IlmImfCtl install(FILES ImfCtlApplyTransforms.h DESTINATION - ${CMAKE_INSTALL_LIBDIR}/OpenEXR + ${CMAKE_INSTALL_INCLUDEDIR}/OpenEXR ) install(TARGETS IlmImfCtl DESTINATION ${CMAKE_INSTALL_LIBDIR})