Commit 5ce7c2e0 authored by Konstantin Pavlov's avatar Konstantin Pavlov

Contrib: projectM build fix.

Note that on my system i have to do make twice in order to build the
software. SMP-incompatible build?
parent 19ccaf63
......@@ -2506,6 +2506,7 @@ DISTCLEAN_PKG += gsm-$(GSM_VERSION).tar.gz
ifdef SVN
libprojectM:
$(SVN) co $(LIBPROJECTM_SVN) libprojectM
patch -d libprojectM -p0 < Patches/libprojectM-fpic.patch
else
libprojectM-$(LIBPROJECTM_VERSION).tar.bz2:
$(WGET) $(LIBPROJECTM_URL)
......
Index: src/libprojectM/MilkdropPresetFactory/CMakeLists.txt
===================================================================
--- src/libprojectM/MilkdropPresetFactory/CMakeLists.txt (revision 1287)
+++ src/libprojectM/MilkdropPresetFactory/CMakeLists.txt (working copy)
@@ -3,7 +3,7 @@
SET(MilkdropPresetFactory_SOURCES BuiltinFuncs.cpp Func.cpp MilkdropPreset.cpp Param.hpp PresetFrameIO.cpp CustomShape.cpp Eval.cpp MilkdropPresetFactory.cpp PerPixelEqn.cpp BuiltinParams.cpp InitCond.cpp Parser.cpp CustomWave.cpp Expr.cpp PerPointEqn.cpp Param.cpp PerFrameEqn.cpp IdlePreset.cpp)
-SET (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -fPIC)
+SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
INCLUDE_DIRECTORIES(${projectM_SOURCE_DIR} ${Renderer_SOURCE_DIR})
LINK_DIRECTORIES(${projectM_BINARY_DIR} ${Renderer_BINARY_DIR})
Index: src/libprojectM/NativePresetFactory/CMakeLists.txt
===================================================================
--- src/libprojectM/NativePresetFactory/CMakeLists.txt (revision 1287)
+++ src/libprojectM/NativePresetFactory/CMakeLists.txt (working copy)
@@ -2,7 +2,7 @@
cmake_minimum_required(VERSION 2.4.0)
SET(NativePresetFactory_SOURCES NativePresetFactory.cpp)
-SET (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -fPIC)
+SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
INCLUDE_DIRECTORIES(${projectM_SOURCE_DIR} ${Renderer_SOURCE_DIR})
ADD_LIBRARY(NativePresetFactory STATIC ${NativePresetFactory_SOURCES})
Index: src/libprojectM/Renderer/CMakeLists.txt
===================================================================
--- src/libprojectM/Renderer/CMakeLists.txt (revision 1287)
+++ src/libprojectM/Renderer/CMakeLists.txt (working copy)
@@ -7,8 +7,8 @@
Filters.cpp PerlinNoise.cpp PipelineContext.cpp Renderable.cpp BeatDetect.cpp Shader.cpp TextureManager.cpp VideoEcho.cpp
RenderItemDistanceMetric.cpp RenderItemMatcher.cpp ${SOIL_SOURCES})
-SET (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -fPIC)
-SET (CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -fPIC)
+SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
+SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC")
INCLUDE_DIRECTORIES(${projectM_SOURCE_DIR})
ADD_LIBRARY(Renderer STATIC ${Renderer_SOURCES})
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment