Fix #1241 Rename CMAKE Variables to allow grouping (#1437)

* Add macro to map ENABLE_* variables provided on CMake command-line to POCO_ENABLE_* variables.

* Properly map ENABLE_* values to POCO_ENABLE_* variables instead of assuming ON
This commit is contained in:
Timothy Brackett
2018-03-26 01:13:54 -04:00
committed by Joerg-Christian Boehme
parent bdd185740a
commit 43cbd82b7f
32 changed files with 154 additions and 139 deletions

View File

@@ -29,6 +29,6 @@ target_include_directories( "${LIBNAME}"
POCO_INSTALL("${LIBNAME}")
POCO_GENERATE_PACKAGE("${LIBNAME}")
if (ENABLE_TESTS)
if (POCO_ENABLE_TESTS)
add_subdirectory(testsuite)
endif ()