1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 03:27:40 +01:00

Make the buildsystem a little more robust.

This commit is contained in:
John Maguire 2010-06-17 14:45:31 +00:00
parent 057a896967
commit ae3b500259
3 changed files with 9 additions and 0 deletions

View File

@ -28,6 +28,8 @@ if (USE_NATIVE_GLEW)
else(USE_NATIVE_GLEW)
SET(GLEW_SOURCES )
find_library(GLEW_LIBRARIES NAMES glew GLEW glew32)
find_path(GLEW_INCLUDE_DIRS GL/glew.h HINTS /sw/include)
include_directories(${GLEW_INCLUDE_DIRS})
endif(USE_NATIVE_GLEW)
SET(projectM_SOURCES projectM.cpp PCM.cpp Preset.cpp fftsg.cpp KeyHandler.cpp

View File

@ -50,6 +50,9 @@ else(WIN32)
pkg_check_modules(GSTREAMER_BASE gstreamer-base-0.10)
pkg_check_modules(LIBVLC libvlc)
pkg_check_modules(LIBXINE libxine)
pkg_check_modules(GLIB glib-2.0)
pkg_check_modules(LIBXML libxml-2.0)
pkg_check_modules(GOBJECT gobject-2.0)
endif(WIN32)
find_library(LASTFM_LIBRARIES lastfm)

View File

@ -11,6 +11,10 @@ include_directories(../3rdparty/qtiocompressor)
include_directories(../3rdparty/qxt)
include_directories(../3rdparty/libprojectm)
include_directories(${GLIB_INCLUDE_DIRECTORIES})
include_directories(${LIBXML_INCLUDE_DIRECTORIES})
include_directories(${GOBJECT_INCLUDE_DIRECTORIES})
cmake_policy(SET CMP0011 NEW)
include(../cmake/AddEngine.cmake)
include(../cmake/ParseArguments.cmake)