Skip to content

Commit

Permalink
warn if POCO_STATIC is used
Browse files Browse the repository at this point in the history
  • Loading branch information
obiltschnig committed Feb 13, 2020
1 parent 13d0bd7 commit 6aa1abd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6aa1abd

Please sign in to comment.