Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:mrbadguy:telegram
telegram-desktop
0005-use-bundled-ada.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0005-use-bundled-ada.patch of Package telegram-desktop
diff --git a/cmake/external/ada/CMakeLists.txt b/cmake/external/ada/CMakeLists.txt index 4b8063b..fbddaac 100644 --- a/cmake/external/ada/CMakeLists.txt +++ b/cmake/external/ada/CMakeLists.txt @@ -4,7 +4,7 @@ # For license and copyright information please follow this link: # https://github.com/desktop-app/legal/blob/master/LEGAL -if (DESKTOP_APP_USE_PACKAGED) +if (NOT DESKTOP_APP_USE_PACKAGED) add_library(external_ada INTERFACE IMPORTED GLOBAL) add_library(desktop-app::external_ada ALIAS external_ada) @@ -37,10 +37,9 @@ elseif (APPLE) else() target_include_directories(external_ada SYSTEM INTERFACE - /usr/local/include + ${libs_loc}/ada/include ) - find_library(DESKTOP_APP_ADA_LIBRARIES libada.a REQUIRED) set_target_properties(external_ada PROPERTIES - IMPORTED_LOCATION "${DESKTOP_APP_ADA_LIBRARIES}" + IMPORTED_LOCATION ${libs_loc}/ada/build/src/libada.a ) endif()
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