File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 11PROJECT (projectM_libvisual)
22cmake_minimum_required (VERSION 2.4.0)
3- if (COMMAND cmake_policy)
4- cmake_policy (SET CMP0003 NEW)
5- endif (COMMAND cmake_policy)
6-
73
84INCLUDE (cmake/CPack-projectM.cmake)
95
10-
116ADD_LIBRARY (projectM_libvisual SHARED actor_projectM.cpp lvtoprojectM.h ConfigFile.h ConfigFile.cpp)
127
138INCLUDE (FindPkgConfig.cmake)
149cmake_policy (SET CMP0005 OLD)
1510
16-
1711FIND_PACKAGE (OpenGL)
1812FIND_PACKAGE (SDL)
1913
@@ -30,19 +24,18 @@ ADD_DEFINITIONS(-DLINUX)
3024pkg_search_module(LIBVISUAL REQUIRED libvisual-0.4)
3125
3226if (LIBPROJECTM_FOUND)
33- MESSAGE (STATUS "[projectM-libvisual] projectM detected." )
27+ MESSAGE (STATUS "[projectM-libvisual] projectM detected." )
3428else (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." )
3630endif (LIBPROJECTM_FOUND)
3731
3832if (LIBVISUAL_FOUND)
39- MESSAGE (STATUS "[projectM-libvisual] libvisual detected." )
33+ MESSAGE (STATUS "[projectM-libvisual] libvisual detected." )
4034else (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." )
4236endif (LIBVISUAL_FOUND)
4337
4438
45-
4639if (${CMAKE_PROJECT_NAME} MATCHES "projectM-complete" )
4740 set (PROJECTM_INCLUDE ${PROJECTM_ROOT_SOURCE_DIR} /libprojectM)
4841 set (PROJECTM_LINK ${PROJECTM_ROOT_BINARY_DIR} /libprojectM)
You can’t perform that action at this time.
0 commit comments