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
This commit is contained in:
Tobias Doerffel
2008-07-22 22:59:40 +00:00
parent 4db1099f7f
commit c7e9a130da
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
2008-07-22 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* 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

View File

@@ -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}")