git-svn-id: svn://db.shs.com.ru/pip@294 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2016-12-03 23:43:42 +00:00
parent eb1e413929
commit 71a178c870
2 changed files with 23 additions and 9 deletions

View File

@@ -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 ()