aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-06-26 13:11:21 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-07-16 22:06:31 +0200
commit967381a5990c7b637dffddf80d90104315a6b123 (patch)
tree0375f5421efc319513aabff79b8dd55c112c01a2 /CMakeLists.txt
parentd1075600496643064ac508993219952a7ecb345a (diff)
`get-and-build-libndpi.sh` uses GMake MAKEFLAGS for sub-make (required for e.g. jobserver)
* fixed invalid CMake `test -r ...` Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 43f8f31bb..f2f4fa80c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -225,10 +225,8 @@ if(BUILD_NDPI)
add_custom_target(clean-libnDPI
COMMAND ${CMAKE_BUILD_TOOL} clean
- COMMAND test -r ${CMAKE_SOURCE_DIR}/libnDPI/Makefile
COMMAND rm -rf ${CMAKE_BINARY_DIR}/libnDPI
COMMAND rm -f ${CMAKE_BINARY_DIR}/libnDPI-prefix/src/libnDPI-stamp/libnDPI-configure
- COMMAND git submodule deinit -f ${CMAKE_SOURCE_DIR}/libnDPI
)
set(STATIC_LIBNDPI_INSTALLDIR "${CMAKE_BINARY_DIR}/libnDPI")