]>
Commit | Line | Data |
---|---|---|
b9df10ac JB |
1 | --- OpenColorIO-1.1.0/CMakeLists.txt.orig 2018-06-26 20:01:54.413455888 +0200 |
2 | +++ OpenColorIO-1.1.0/CMakeLists.txt 2018-06-26 20:18:58.653444195 +0200 | |
3 | @@ -600,7 +600,7 @@ | |
4 | set(OCIO_STATIC_COMPILE_DEFINITIONS ) | |
5 | endif() | |
6 | endif() | |
7 | -install(EXPORT OpenColorIO DESTINATION cmake) | |
8 | +install(EXPORT OpenColorIO DESTINATION lib${LIB_SUFFIX}/cmake/OpenColorIO) | |
9 | file(WRITE "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" | |
10 | " | |
11 | get_filename_component(OpenColorIO_DIR \"\${CMAKE_CURRENT_LIST_FILE}\" PATH) | |
12 | @@ -612,7 +612,7 @@ | |
13 | ||
14 | ## targets libraries + associated definitions | |
15 | if(NOT TARGET OpenColorIO) | |
16 | - include(\"\${OpenColorIO_DIR}/cmake/OpenColorIO.cmake\") ## thanks to imported target | |
17 | + include(\"${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/cmake/OpenColorIO/OpenColorIO.cmake\") ## thanks to imported target | |
18 | if(TARGET OpenColorIO AND NOT OpenColorIO_USE_STATIC) | |
19 | message(STATUS \"shared target OpenColorIO : see OpenColorIO_LIBRARY\") | |
20 | set(OpenColorIO_LIBRARY OpenColorIO) | |
21 | @@ -650,4 +650,4 @@ | |
22 | message(STATUS OPENCOLORIO_FOUND=\${OPENCOLORIO_FOUND}) | |
23 | " | |
24 | ) | |
25 | -install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION .) | |
26 | +install(FILES "${CMAKE_BINARY_DIR}/OpenColorIOConfig.cmake" DESTINATION lib${LIB_SUFFIX}/cmake/OpenColorIO) |