From 6aa1abd8f6db8d6fc5f877d900faec4e6191b7ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Thu, 13 Feb 2020 20:11:03 +0100 Subject: [PATCH] warn if POCO_STATIC is used --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ff04c6bab..cf35e9684 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,7 @@ endif() include(PocoMacros) if(POCO_STATIC) + message(WARNING "POCO_STATIC has been deprecated. Please use BUILD_SHARED_LIBS instead.") option(BUILD_SHARED_LIBS "Build shared libraries" OFF) else() option(BUILD_SHARED_LIBS "Build shared libraries" ON)