From 7080c783d1465af9672e494e431276839609fda0 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 12 Mar 2020 14:29:31 +0300 Subject: [PATCH] cmake: fix missing project() warning in Python standalone builds --- modules/python/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/python/CMakeLists.txt b/modules/python/CMakeLists.txt index 616f500c95..a51acf386e 100644 --- a/modules/python/CMakeLists.txt +++ b/modules/python/CMakeLists.txt @@ -41,6 +41,7 @@ add_subdirectory(python3) else() # standalone build cmake_minimum_required(VERSION 2.8.12) +project(OpenCVPython CXX C) include("./standalone.cmake") endif()