From 83b38db5c86d6c55edb7c3e2e77f1e378e65ac2c Mon Sep 17 00:00:00 2001
From: Dobiasd <editgym@gmail.com>
Date: Wed, 17 Apr 2024 18:48:55 +0200
Subject: [PATCH] Replace deprecated subdirs with add_subdirectory

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0f05892a..57ee7c6f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,7 +51,7 @@ target_link_libraries(fdeep INTERFACE nlohmann_json)
 
 if(FDEEP_BUILD_UNITTEST)
     enable_testing()
-    subdirs(test)
+    add_subdirectory(test)
 endif()
 
 # pkgconfig installation: