From e785ac6bbaafaa9c8031c92f55c821e8266763fa Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 4 Apr 2019 22:23:06 +0300 Subject: Better CMake variable expansion usage in if. GitOrigin-RevId: 28a5d6bbab13a9eacf9b1b8f0ac8eeff1be21556 --- sqlite/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlite') diff --git a/sqlite/CMakeLists.txt b/sqlite/CMakeLists.txt index c94efe4f5..4b63c0088 100644 --- a/sqlite/CMakeLists.txt +++ b/sqlite/CMakeLists.txt @@ -31,7 +31,7 @@ if (NOT WIN32) target_compile_definitions(tdsqlite PRIVATE -DHAVE_USLEEP -DNDEBUG=1) endif() -if ("${CMAKE_SYSTEM_NAME}" STREQUAL "WindowsStore") +if (CMAKE_SYSTEM_NAME STREQUAL "WindowsStore") target_compile_definitions(tdsqlite PRIVATE -DSQLITE_OS_WINRT=1) endif() -- cgit v1.2.3