diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-09-12 04:22:28 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-09-12 04:22:28 +0000 |
| commit | a5d33afe4731b39817442bcc48328cd7bc4f4dd2 (patch) | |
| tree | 622c0a5a7fa5f64872fc5701b172a12859bdba45 /src/plugins/Visual | |
| parent | 1769f2b3b98758579780340bf08e9a20f32754b9 (diff) | |
| download | qmmp-a5d33afe4731b39817442bcc48328cd7bc4f4dd2.tar.gz qmmp-a5d33afe4731b39817442bcc48328cd7bc4f4dd2.tar.bz2 qmmp-a5d33afe4731b39817442bcc48328cd7bc4f4dd2.zip | |
updated cmake files
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3708 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Visual')
| -rw-r--r-- | src/plugins/Visual/projectm/CMakeLists.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/plugins/Visual/projectm/CMakeLists.txt b/src/plugins/Visual/projectm/CMakeLists.txt index 1b97e8031..ca321d79d 100644 --- a/src/plugins/Visual/projectm/CMakeLists.txt +++ b/src/plugins/Visual/projectm/CMakeLists.txt @@ -7,7 +7,8 @@ INCLUDE(FindQt4) include(${QT_USE_FILE}) if(COMMAND cmake_policy) -cmake_policy(SET CMP0003 NEW) + cmake_policy(SET CMP0003 NEW) + cmake_policy(SET CMP0005 OLD) endif(COMMAND cmake_policy) # qt plugin @@ -38,6 +39,14 @@ IF(PROJECTM_20_FOUND) ADD_DEFINITIONS(-DPROJECTM_20) ENDIF(PROJECTM_20_FOUND) +find_file(PROJECTM_CONFIG_FILE config.inp + PATHS "/usr/share/projectM/" "/usr/local/share/projectM/") + +IF(PROJECTM_CONFIG_FILE) +ADD_DEFINITIONS(-DPROJECTM_CONFIG_FILE=\\\"${PROJECTM_CONFIG_FILE}\\\") +MESSAGE(STATUS "Found projectM configuration: ${PROJECTM_CONFIG_FILE}") +ENDIF(PROJECTM_CONFIG_FILE) + SET(libprojectm_SRCS projectmwidget.cpp projectmplugin.cpp |
