From 99a4be498a5ddcfdce6ed2b67ac5ecdfcb40648c Mon Sep 17 00:00:00 2001 From: EinMByte Date: Mon, 21 Sep 2015 17:25:26 +0200 Subject: [PATCH] Properly escape backslash in CMakeLists (windows). --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 183c782f..8a186351 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -159,7 +159,7 @@ if(I2PD_DATA_PATH) # Using custom path, make sure the code knows about this add_definitions(-DI2PD_CUSTOM_DATA_PATH="${I2PD_DATA_PATH}") elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") - set(I2PD_DATA_DIR "$ENV{APPDATA}\i2pd") + set(I2PD_DATA_DIR "$ENV{APPDATA}\\i2pd") elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") set(I2PD_DATA_DIR "$ENV{HOME}/Library/Application Support/i2pd") else()