From c7e9a130da401730233b95e7de6679586786fe8b Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Tue, 22 Jul 2008 22:59:40 +0000 Subject: [PATCH] fixed INSTALL_DATA_SUBDIRS-macro (use normal string-replace instead of regex-replace) git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1360 0778d3d1-df1d-0410-868b-ea421aaaa00d --- ChangeLog | 4 ++++ cmake/modules/InstallHelpers.cmake | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 70faa0f7e..b4f6691b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-07-22 Tobias Doerffel + * cmake/modules/InstallHelpers.cmake: + fixed INSTALL_DATA_SUBDIRS-macro (use normal string-replace + instead of regex-replace) + * include/project_renderer.h: * src/core/project_renderer.cpp: also compile without OGG/Vorbis-support diff --git a/cmake/modules/InstallHelpers.cmake b/cmake/modules/InstallHelpers.cmake index fb7896072..9e0f09c07 100644 --- a/cmake/modules/InstallHelpers.cmake +++ b/cmake/modules/InstallHelpers.cmake @@ -27,7 +27,7 @@ MACRO(INSTALL_DATA_SUBDIRS _subdir _wildcards) FOREACH(_item ${files}) GET_FILENAME_COMPONENT(_file "${_item}" PATH) - STRING(REGEX REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/" "" _file "${_file}") + STRING(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/" "" _file "${_file}") LIST_CONTAINS(contains _file ${SUBDIRS}) IF(NOT contains) LIST(APPEND SUBDIRS "${_file}")