mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 23:12:57 +02:00
warn if POCO_STATIC is used
This commit is contained in:
parent
13d0bd7f0b
commit
6aa1abd8f6
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user