mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-29 07:42:23 -05:00
385357c0d7
* gnu/packages/cpp.scm (fifo-map): New variable. * gnu/packages/patches/fifo-map-fix-flags-for-gcc.patch: New file. * gnu/packages/patches/fifo-map-remove-catch.hpp.patch: New file. * gnu/local.mk: Add new patch files. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
30 lines
814 B
Diff
30 lines
814 B
Diff
From 20dcf90fd02511f8d78ea7cc8ac82c121fd2f6cf Mon Sep 17 00:00:00 2001
|
|
From: fis <ybbs.daans@hotmail.com>
|
|
Date: Sat, 26 May 2018 22:56:29 +0800
|
|
Subject: [PATCH 1/2] * CMakeLists.txt: Remove catch.hpp.
|
|
|
|
---
|
|
CMakeLists.txt | 6 ++----
|
|
1 file changed, 2 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 6603c7f..eba147b 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -2,11 +2,9 @@ cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(fifo_map LANGUAGES CXX)
|
|
|
|
-add_executable(unit
|
|
- src/fifo_map.hpp test/thirdparty/catch/catch.hpp test/unit.cpp
|
|
-)
|
|
+add_executable(unit src/fifo_map.hpp test/unit.cpp)
|
|
|
|
-target_include_directories(unit PRIVATE "test" "src" "test/thirdparty")
|
|
+target_include_directories(unit PRIVATE "test" "src")
|
|
|
|
if(MSVC)
|
|
set(CMAKE_CXX_FLAGS
|
|
--
|
|
2.14.3
|
|
|