Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alois
imgui
imgui-fix_installation_paths.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File imgui-fix_installation_paths.patch of Package imgui
Index: imgui-1.91.0/CMakeLists.txt =================================================================== --- imgui-1.91.0.orig/CMakeLists.txt +++ imgui-1.91.0/CMakeLists.txt @@ -148,8 +148,8 @@ list(REMOVE_DUPLICATES BINDINGS_SOURCES) install( TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}_target - ARCHIVE DESTINATION lib - LIBRARY DESTINATION lib + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION bin ) @@ -157,8 +157,8 @@ foreach(BINDING_TARGET ${BINDING_TARGETS install( TARGETS ${BINDING_TARGET} EXPORT ${PROJECT_NAME}_target - ARCHIVE DESTINATION lib - LIBRARY DESTINATION lib + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION bin ) endforeach() @@ -172,11 +172,11 @@ if(NOT IMGUI_SKIP_HEADERS) ${CMAKE_CURRENT_SOURCE_DIR}/imstb_rectpack.h ${CMAKE_CURRENT_SOURCE_DIR}/imstb_truetype.h ${CMAKE_CURRENT_SOURCE_DIR}/misc/cpp/imgui_stdlib.h - DESTINATION include + DESTINATION include/imgui ) if(IMGUI_BUILD_ALLEGRO5_BINDING) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_allegro5.h DESTINATION include) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_allegro5.h DESTINATION include/imgui) endif() if (IMGUI_BUILD_ANDROID_BINDING) @@ -200,11 +200,11 @@ if(NOT IMGUI_SKIP_HEADERS) endif() if(IMGUI_BUILD_GLFW_BINDING) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_glfw.h DESTINATION include) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_glfw.h DESTINATION include/imgui) endif() if(IMGUI_BUILD_GLUT_BINDING) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_glut.h DESTINATION include) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_glut.h DESTINATION include/imgui) endif() if(IMGUI_BUILD_METAL_BINDING) @@ -212,7 +212,7 @@ if(NOT IMGUI_SKIP_HEADERS) endif() if(IMGUI_BUILD_OPENGL2_BINDING) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_opengl2.h DESTINATION include) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_opengl2.h DESTINATION include/imgui) endif() if(IMGUI_BUILD_OPENGL3_BINDING) @@ -221,7 +221,7 @@ if(NOT IMGUI_SKIP_HEADERS) ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_opengl3.h ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_opengl3_loader.h DESTINATION - include + include/imgui ) endif() @@ -230,15 +230,15 @@ if(NOT IMGUI_SKIP_HEADERS) endif() if(IMGUI_BUILD_SDL2_BINDING) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_sdl2.h DESTINATION include) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_sdl2.h DESTINATION include/imgui) endif() if(IMGUI_BUILD_SDL2_RENDERER_BINDING) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_sdlrenderer2.h DESTINATION include) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_sdlrenderer2.h DESTINATION include/imgui) endif() if(IMGUI_BUILD_VULKAN_BINDING) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_vulkan.h DESTINATION include) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/backends/imgui_impl_vulkan.h DESTINATION include/imgui) endif() if(IMGUI_BUILD_WIN32_BINDING) @@ -246,7 +246,7 @@ if(NOT IMGUI_SKIP_HEADERS) endif() if(IMGUI_FREETYPE) - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/misc/freetype/imgui_freetype.h DESTINATION include) + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/misc/freetype/imgui_freetype.h DESTINATION include/imgui) endif() if(IMGUI_TEST_ENGINE) @@ -263,19 +263,19 @@ if(NOT IMGUI_SKIP_HEADERS) ${CMAKE_CURRENT_SOURCE_DIR}/test-engine/imgui_te_ui.h ${CMAKE_CURRENT_SOURCE_DIR}/test-engine/imgui_te_utils.h DESTINATION - include + include/imgui ) endif() endif() include(CMakePackageConfigHelpers) -configure_package_config_file(imgui-config.cmake.in imgui-config.cmake INSTALL_DESTINATION share/imgui) +configure_package_config_file(imgui-config.cmake.in imgui-config.cmake INSTALL_DESTINATION ${CMAKE_MODULES_INSTALL_DIR}) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/imgui-config.cmake DESTINATION share/imgui) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/imgui-config.cmake DESTINATION ${CMAKE_MODULES_INSTALL_DIR}) install( EXPORT ${PROJECT_NAME}_target NAMESPACE ${PROJECT_NAME}:: FILE ${PROJECT_NAME}-targets.cmake - DESTINATION share/${PROJECT_NAME} + DESTINATION ${CMAKE_MODULES_INSTALL_DIR} )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor