summaryrefslogtreecommitdiff
path: root/openexr/openexr-pkg-config.patch
blob: c91322bc7bb5a723b29a34f173a043f9dfbd7745 (plain)
    1 diff -urN openexr-2.5.1.orig/IlmBase/config/CMakeLists.txt openexr-2.5.1/IlmBase/config/CMakeLists.txt
    2 --- openexr-2.5.1.orig/IlmBase/config/CMakeLists.txt	2020-05-11 15:53:42.000000000 +0000
    3 +++ openexr-2.5.1/IlmBase/config/CMakeLists.txt	2020-05-14 05:53:22.969725396 +0000
    4 @@ -75,9 +75,9 @@
    5    # use a helper function to avoid variable pollution, but pretty simple
    6    function(ilmbase_pkg_config_help pcinfile)
    7      set(prefix ${CMAKE_INSTALL_PREFIX})
    8 -    set(exec_prefix "\${prefix}")
    9 -    set(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
   10 -    set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
   11 +    set(exec_prefix ${CMAKE_INSTALL_BINDIR})
   12 +    set(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
   13 +    set(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
   14      set(LIB_SUFFIX_DASH ${ILMBASE_LIB_SUFFIX})
   15      if(TARGET Threads::Threads)
   16        # hrm, can't use properties as they end up as generator expressions
   17 diff -urN openexr-2.5.1.orig/OpenEXR/config/CMakeLists.txt openexr-2.5.1/OpenEXR/config/CMakeLists.txt
   18 --- openexr-2.5.1.orig/OpenEXR/config/CMakeLists.txt	2020-05-11 15:53:42.000000000 +0000
   19 +++ openexr-2.5.1/OpenEXR/config/CMakeLists.txt	2020-05-14 05:53:57.064665826 +0000
   20 @@ -72,9 +72,9 @@
   21    # use a helper function to avoid variable pollution, but pretty simple
   22    function(openexr_pkg_config_help pcinfile)
   23      set(prefix ${CMAKE_INSTALL_PREFIX})
   24 -    set(exec_prefix "\${prefix}")
   25 -    set(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
   26 -    set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
   27 +    set(exec_prefix ${CMAKE_INSTALL_BINDIR})
   28 +    set(libdir ${CMAKE_INSTALL_FULL_LIBDIR})
   29 +    set(includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
   30      set(LIB_SUFFIX_DASH ${OPENEXR_LIB_SUFFIX})
   31      if(TARGET Threads::Threads)
   32        # hrm, can't use properties as they end up as generator expressions

Generated by cgit