Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
labplot-kf5
Fix-finding-liborigin-header-in-project-import-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Fix-finding-liborigin-header-in-project-import-test.patch of Package labplot-kf5
From 94deef1dde74953aae53e69e61b0d9aaba6814d6 Mon Sep 17 00:00:00 2001 From: Stefan Gerlach <stefan.gerlach@uni-konstanz.de> Date: Mon, 28 Aug 2023 00:24:42 +0200 Subject: [PATCH] Fix finding liborigin header in project import test --- tests/import_export/Project/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/import_export/Project/CMakeLists.txt b/tests/import_export/Project/CMakeLists.txt index a812a91362..04be96c357 100644 --- a/tests/import_export/Project/CMakeLists.txt +++ b/tests/import_export/Project/CMakeLists.txt @@ -1,5 +1,13 @@ add_executable (ProjectImportTest ProjectImportTest.cpp) +IF (ENABLE_LIBORIGIN) + IF (LIBORIGIN_FOUND) + # if system headers are missing: use the provided + target_include_directories( ProjectImportTest PRIVATE ${LIBORIGIN_INCLUDE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/liborigin" ) + ELSE () # own version + target_include_directories( ProjectImportTest PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/liborigin" ) + ENDIF() +ENDIF () target_link_libraries(ProjectImportTest labplot2lib labplot2test) add_test(NAME ProjectImportTest COMMAND ProjectImportTest) -- GitLab
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