[CMake] Change minimum version
authorGichan Jang <gichan2.jang@samsung.com>
Thu, 3 Apr 2025 05:32:59 +0000 (14:32 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Mon, 7 Apr 2025 11:54:17 +0000 (20:54 +0900)
Change minimum required version of CMAKE.
Error:

CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 has been removed from CMake.
  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!

Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
CMakeLists.txt

index 5fa339f1382d3666e2c035a23b947bbb58a9b59c..09e0a65a1760efa54e9c2c03e317aed9d2ef004b 100644 (file)
@@ -1,4 +1,4 @@
-CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
 PROJECT(nnstreamer-edge)
 
 INCLUDE(FindPkgConfig)