#3217: CMake: warning message with -DPOCO_STATIC confusing

This commit is contained in:
Günter Obiltschnig
2021-06-15 15:07:29 +02:00
parent bfb03fe765
commit d4ec18d503

View File

@@ -54,7 +54,7 @@ endif()
include(PocoMacros)
if(POCO_STATIC)
message(WARNING "POCO_STATIC has been deprecated. Please use BUILD_SHARED_LIBS instead.")
message(WARNING "POCO_STATIC has been deprecated. Please use BUILD_SHARED_LIBS=NO to build static libraries.")
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
else()
option(BUILD_SHARED_LIBS "Build shared libraries" ON)