summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2020-11-01 13:30:41 -0500
committerAllen Winter <allen.winter@kdab.com>2020-11-01 13:30:41 -0500
commit940ccc635cf9999f42c034c387479e85219a993e (patch)
treeeaa11cd030ecee346f84f8c55b19b1c007c2610d
parentab2a3b1a8010a1efdf1c3a8eb1ae43e111c87a7c (diff)
downloadlibical-git-940ccc635cf9999f42c034c387479e85219a993e.tar.gz
libical/CMakeLists.txt - compiled-in path for build-in tzdata
remove lots of escape quotes that were needed with ancient CMake but break things with modern CMake Issue#436
-rw-r--r--ReleaseNotes.txt1
-rw-r--r--src/libical/CMakeLists.txt2
2 files changed, 2 insertions, 1 deletions
diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt
index 8e0e3217..b8c8250e 100644
--- a/ReleaseNotes.txt
+++ b/ReleaseNotes.txt
@@ -7,6 +7,7 @@ Version 3.0.9 (UNRELEASED):
* Accept VTIMEZONE with more than one X- property
* Fix cross-compile support in libical-glib
* Fix build with newer libicu
+ * Fix compiled-in path for the built-in timezone data
Version 3.0.8 (07 March 2020):
------------------------------
diff --git a/src/libical/CMakeLists.txt b/src/libical/CMakeLists.txt
index 2f25914b..31b6f3b2 100644
--- a/src/libical/CMakeLists.txt
+++ b/src/libical/CMakeLists.txt
@@ -17,7 +17,7 @@ if(ICU_FOUND)
include_directories(${ICU_INCLUDE_DIR})
endif()
-set(PACKAGE_DATA_DIR "\\\"${CMAKE_INSTALL_PREFIX}/share/libical\\\"")
+set(PACKAGE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/libical")
add_definitions(-DPACKAGE_DATA_DIR="${PACKAGE_DATA_DIR}")
set(ICALSCRIPTS ${CMAKE_SOURCE_DIR}/scripts/)