aboutsummaryrefslogtreecommitdiffhomepage
path: root/sqlite
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2019-04-04 22:23:06 +0300
committerlevlam <levlam@telegram.org>2019-04-04 22:23:06 +0300
commite785ac6bbaafaa9c8031c92f55c821e8266763fa (patch)
treee66bdef7b0002ea360c08f21ac2d51b7ca966d54 /sqlite
parent078417d423621c6984e034be6a8562dc33526560 (diff)
Better CMake variable expansion usage in if.
GitOrigin-RevId: 28a5d6bbab13a9eacf9b1b8f0ac8eeff1be21556
Diffstat (limited to 'sqlite')
-rw-r--r--sqlite/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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()