Skip to content

Commit 9450de0

Browse files
author
ximion
committed
Add possibility to use system fonts & fix font-loading bug in renderer
git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1396 6778bc44-b910-0410-a7a0-be141de4315d
1 parent 003f7ad commit 9450de0

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

src/projectM-libvisual/CMakeLists.txt

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
PROJECT(projectM_libvisual)
22
cmake_minimum_required(VERSION 2.4.0)
3-
if(COMMAND cmake_policy)
4-
cmake_policy(SET CMP0003 NEW)
5-
endif(COMMAND cmake_policy)
6-
73

84
INCLUDE(cmake/CPack-projectM.cmake)
95

10-
116
ADD_LIBRARY(projectM_libvisual SHARED actor_projectM.cpp lvtoprojectM.h ConfigFile.h ConfigFile.cpp)
127

138
INCLUDE(FindPkgConfig.cmake)
149
cmake_policy(SET CMP0005 OLD)
1510

16-
1711
FIND_PACKAGE(OpenGL)
1812
FIND_PACKAGE(SDL)
1913

@@ -30,19 +24,18 @@ ADD_DEFINITIONS(-DLINUX)
3024
pkg_search_module(LIBVISUAL REQUIRED libvisual-0.4)
3125

3226
if (LIBPROJECTM_FOUND)
33-
MESSAGE (STATUS "[projectM-libvisual] projectM detected.")
27+
MESSAGE (STATUS "[projectM-libvisual] projectM detected.")
3428
else(LIBPROJECTM_FOUND)
35-
MESSAGE (FATAL_ERROR "projectM NOT detected. Please install the projectM module or build from the top level projectM source directory.")
29+
MESSAGE (FATAL_ERROR "projectM NOT detected. Please install the projectM module or build from the top level projectM source directory.")
3630
endif(LIBPROJECTM_FOUND)
3731

3832
if(LIBVISUAL_FOUND)
39-
MESSAGE(STATUS "[projectM-libvisual] libvisual detected.")
33+
MESSAGE(STATUS "[projectM-libvisual] libvisual detected.")
4034
else(LIBVISUAL_FOUND)
41-
MESSAGE(FATAL_ERROR "libvisual 0.4 not found! Please visit http://libvisual.sf.net and download the module.")
35+
MESSAGE(FATAL_ERROR "libvisual 0.4 not found! Please visit http://libvisual.sf.net and download the module.")
4236
endif(LIBVISUAL_FOUND)
4337

4438

45-
4639
if (${CMAKE_PROJECT_NAME} MATCHES "projectM-complete")
4740
set(PROJECTM_INCLUDE ${PROJECTM_ROOT_SOURCE_DIR}/libprojectM)
4841
set(PROJECTM_LINK ${PROJECTM_ROOT_BINARY_DIR}/libprojectM)

0 commit comments

Comments
 (0)