diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-09-11 18:22:09 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-09-11 18:22:09 +0200 |
commit | d5db77ec905750c20f74682c0548bc7d898a9fbe (patch) | |
tree | f31bae1921a5c12e6403f2ede7b9de585f36ef2f /net/nDPId/patches/001-enable-in-source-build.patch | |
parent | 538522a6cf0d091a77c1c9aad927fbadfa99f9d2 (diff) |
libndpi-master: removed package
libndpi: bump to 678dd61866944eae011fa96f1c6d39d0c201858e
nDPId-master: bump to 83409e5b79ab224372dd8486249c668b2998a0a4
nDPId: bump to 83409e5b79ab224372dd8486249c668b2998a0a4
potd: removed package
tools: bump to 6a7eabbfee8c8df1a21f3da6e0fd5643c40ee607
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'net/nDPId/patches/001-enable-in-source-build.patch')
-rw-r--r-- | net/nDPId/patches/001-enable-in-source-build.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net/nDPId/patches/001-enable-in-source-build.patch b/net/nDPId/patches/001-enable-in-source-build.patch new file mode 100644 index 0000000..86432dc --- /dev/null +++ b/net/nDPId/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) + |