Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Guillaume_G:WSL
mingw64-occt
occt-7.7.0-fix-exe-version.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File occt-7.7.0-fix-exe-version.patch of Package mingw64-occt
--- occt-V7_7_0.orig/adm/cmake/occt_toolkit.cmake 2022-11-11 23:19:44.000000000 +0100 +++ occt-V7_7_0/adm/cmake/occt_toolkit.cmake 2023-01-24 11:29:08.908308851 +0100 @@ -332,9 +332,14 @@ elseif (BUILD_SOVERSION_NUMBERS GREATER 0) set (OCC_SOVERSION "${OCC_VERSION_MAJOR}") endif() -set_target_properties (${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "${PRECOMPILED_DEFS}" - SOVERSION "${OCC_SOVERSION}" - VERSION "${OCC_VERSION_MAJOR}.${OCC_VERSION_MINOR}.${OCC_VERSION_MAINTENANCE}") +set_target_properties (${PROJECT_NAME} PROPERTIES COMPILE_FLAGS "${PRECOMPILED_DEFS}") + +if(WIN32 AND EXECUTABLE_PROJECT AND CMAKE_CROSSCOMPILING) + # broken version information when cross compiling, see https://gitlab.kitware.com/cmake/cmake/-/issues/24301 +else() + set_target_properties (${PROJECT_NAME} PROPERTIES SOVERSION "${OCC_SOVERSION}" + VERSION "${OCC_VERSION_MAJOR}.${OCC_VERSION_MINOR}.${OCC_VERSION_MAINTENANCE}") +endif() set (USED_TOOLKITS_BY_CURRENT_PROJECT) set (USED_EXTERNAL_LIBS_BY_CURRENT_PROJECT)
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