| diff -Naur pyside-setup-everywhere-src-5.11.0-orig/sources/shiboken2/data/GeneratorRunnerConfig.cmake.in pyside-setup-everywhere-src-5.11.0/sources/shiboken2/data/GeneratorRunnerConfig.cmake.in |
| --- pyside-setup-everywhere-src-5.11.0-orig/sources/shiboken2/data/GeneratorRunnerConfig.cmake.in 2018-06-12 00:53:26.000000000 +0300 |
| +++ pyside-setup-everywhere-src-5.11.0/sources/shiboken2/data/GeneratorRunnerConfig.cmake.in 2018-06-19 11:54:18.434635900 +0300 |
| @@ -3,15 +3,17 @@ |
| # GENERATORRUNNER_PLUGIN_DIR - Where to find/put plugins for generator runner |
| # GENERATORRUNNER_BINARY - Executable name |
| |
| -SET(GENERATORRUNNER_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include/generatorrunner@generator_SUFFIX@") |
| +get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE) |
| + |
| +SET(GENERATORRUNNER_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include/generatorrunner@generator_SUFFIX@") |
| if(MSVC) |
| - SET(GENERATORRUNNER_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner@generator_SUFFIX@.lib") |
| + SET(GENERATORRUNNER_LIBRARY "${PACKAGE_PREFIX_DIR}/lib/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner@generator_SUFFIX@.lib") |
| elseif(CYGWIN) |
| - SET(GENERATORRUNNER_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_IMPORT_LIBRARY_PREFIX@genrunner@generator_SUFFIX@@CMAKE_IMPORT_LIBRARY_SUFFIX@") |
| + SET(GENERATORRUNNER_LIBRARY "${PACKAGE_PREFIX_DIR}/lib/@CMAKE_IMPORT_LIBRARY_PREFIX@genrunner@generator_SUFFIX@@CMAKE_IMPORT_LIBRARY_SUFFIX@") |
| elseif(WIN32) |
| - SET(GENERATORRUNNER_LIBRARY "@CMAKE_INSTALL_PREFIX@/bin/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner@generator_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@") |
| + SET(GENERATORRUNNER_LIBRARY "${PACKAGE_PREFIX_DIR}/bin/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner@generator_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@") |
| else() |
| - SET(GENERATORRUNNER_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner@generator_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@") |
| + SET(GENERATORRUNNER_LIBRARY "${PACKAGE_PREFIX_DIR}/lib/@CMAKE_SHARED_LIBRARY_PREFIX@genrunner@generator_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@") |
| endif() |
| SET(GENERATORRUNNER_PLUGIN_DIR "@generator_plugin_DIR@") |
| -SET(GENERATORRUNNER_BINARY "@CMAKE_INSTALL_PREFIX@/bin/generatorrunner@generator_SUFFIX@") |
| +SET(GENERATORRUNNER_BINARY "${PACKAGE_PREFIX_DIR}/bin/generatorrunner@generator_SUFFIX@") |