From 3b1c6f04b4e50b68e47e0b0f45e6cb40f194355f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=8B=D1=87=D0=BA=D0=BE=D0=B2=20=D0=90=D0=BD=D0=B4?= =?UTF-8?q?=D1=80=D0=B5=D0=B9?= Date: Tue, 10 Jan 2017 14:06:06 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@302 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e54b644d..e8f4544f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,7 +104,7 @@ endif () # Check if USB is on (to enable use "-DUSB=" argument of cmake) -if (${USB}) +if (USB) message(STATUS "Building with USB support") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPIP_USB") list(APPEND LIBS usb) @@ -114,7 +114,7 @@ endif () # Check if STL containers is on (to enable use "-DSTL=" argument of cmake) -if (${STL}) +if (STL) message(STATUS "Building with STL containers") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPIP_CONTAINERS_STL") else () @@ -123,7 +123,7 @@ endif () # Check if ICU used for PIString and PIChar -if (${ICU}) +if (ICU) message(STATUS "Building with ICU") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPIP_ICU") list(APPEND LIBS icuuc) @@ -133,7 +133,7 @@ endif () # Check if PIP support cryptographic encryption/decryption by using sodium library -if (${CRYPT}) +if (CRYPT) message(STATUS "Building with crypt support") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPIP_CRYPT") list(APPEND LIBS sodium) @@ -143,7 +143,7 @@ endif () # Check if PIP should be built with containers introspection -if (${INTROSPECTION_CONTAINERS}) +if (INTROSPECTION_CONTAINERS) message(STATUS "Building with containers introspection") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPIP_INTROSPECTION_CONTAINERS") else () @@ -152,7 +152,7 @@ endif () # Check if PIP should be built with threads introspection -if (${INTROSPECTION_THREADS}) +if (INTROSPECTION_THREADS) message(STATUS "Building with threads introspection") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DPIP_INTROSPECTION_THREADS") else ()