diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-05-13 15:44:42 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-09-11 12:26:03 +0200 |
commit | 395762163d3eabc87113c6b810a112d4cea3803b (patch) | |
tree | 9fa18c201860f7fd88e5da09b56656b9ce02ab5e /net/nDPId-master/patches/001-enable-in-source-build.patch | |
parent | b600e107b989ca0282cc4383e718c715155ee770 (diff) |
nDPId-master: add new package
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'net/nDPId-master/patches/001-enable-in-source-build.patch')
-rw-r--r-- | net/nDPId-master/patches/001-enable-in-source-build.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net/nDPId-master/patches/001-enable-in-source-build.patch b/net/nDPId-master/patches/001-enable-in-source-build.patch new file mode 100644 index 0000000..86432dc --- /dev/null +++ b/net/nDPId-master/patches/001-enable-in-source-build.patch @@ -0,0 +1,17 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 9045237..83f72b3 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,12 +1,5 @@ + cmake_minimum_required(VERSION 3.12.4) + project(nDPId C) +-if("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}") +- message(FATAL_ERROR "In-source builds are not allowed.\n" +- "Please remove ${PROJECT_SOURCE_DIR}/CMakeCache.txt\n" +- "and\n" +- "${PROJECT_SOURCE_DIR}/CMakeFiles\n" +- "Create a build directory somewhere and run CMake again.") +-endif() + set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake) + find_package(PkgConfig REQUIRED) + |