Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:libraries:c_c++
influxdb-cxx
0001-Add-trompeloeil-trompeloeil-target-if-not-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Add-trompeloeil-trompeloeil-target-if-not-available-.patch of Package influxdb-cxx
From 5b37509bb79ff164983cfd3991f49828136d613a Mon Sep 17 00:00:00 2001 From: offa <bm-dev@yandex.com> Date: Thu, 5 Aug 2021 17:56:06 +0200 Subject: [PATCH] Add trompeloeil::trompeloeil target if not available (#94). --- test/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e9a3780..a9bdb13 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -2,6 +2,11 @@ find_package(Catch2 REQUIRED) find_package(trompeloeil REQUIRED) +if( NOT TARGET trompeloeil::trompeloeil ) + add_library(trompeloeil::trompeloeil INTERFACE IMPORTED) + target_link_libraries(trompeloeil::trompeloeil INTERFACE trompeloeil) +endif() + add_library(TestMain STATIC TestMain.cxx) target_link_libraries(TestMain PUBLIC Catch2::Catch2 trompeloeil::trompeloeil) -- 2.31.1
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