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:
parent
057a896967
commit
ae3b500259
2
3rdparty/libprojectm/CMakeLists.txt
vendored
2
3rdparty/libprojectm/CMakeLists.txt
vendored
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user