Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alois
imgui
imgui-add_version_to_soname.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File imgui-add_version_to_soname.patch of Package imgui
Index: imgui-1.91.0/CMakeLists.txt =================================================================== --- imgui-1.91.0.orig/CMakeLists.txt +++ imgui-1.91.0/CMakeLists.txt @@ -8,17 +8,17 @@ if(APPLE) enable_language(OBJCXX) endif() -add_library(${PROJECT_NAME} "") -add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) +add_library(${PROJECT_NAME}-${CUSTOM_SOVERSION} "") +add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME}-${CUSTOM_SOVERSION}) target_include_directories( - ${PROJECT_NAME} + ${PROJECT_NAME}-${CUSTOM_SOVERSION} PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR};${CMAKE_CURRENT_SOURCE_DIR}/test-engine>" $<INSTALL_INTERFACE:include> ) target_sources( - ${PROJECT_NAME} + ${PROJECT_NAME}-${CUSTOM_SOVERSION} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/imgui.cpp ${CMAKE_CURRENT_SOURCE_DIR}/imgui_demo.cpp @@ -28,7 +28,7 @@ target_sources( ${CMAKE_CURRENT_SOURCE_DIR}/misc/cpp/imgui_stdlib.cpp ) -target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11) +target_compile_features(${PROJECT_NAME}-${CUSTOM_SOVERSION} PUBLIC cxx_std_11) if(IMGUI_BUILD_ALLEGRO5_BINDING) find_package(Allegro CONFIG REQUIRED) @@ -146,7 +146,7 @@ endif() list(REMOVE_DUPLICATES BINDINGS_SOURCES) install( - TARGETS ${PROJECT_NAME} + TARGETS ${PROJECT_NAME}-${CUSTOM_SOVERSION} EXPORT ${PROJECT_NAME}_target ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
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