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:
@@ -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
|
||||
|
||||
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user