From 63e150756dbb514a5c8f0b887fbf1ca3200d7693 Mon Sep 17 00:00:00 2001 From: tpmodding Date: Wed, 24 Feb 2016 00:24:46 +0100 Subject: [PATCH 1/2] Update CMakeLists.txt If you want to compile for OpenElec on Raspberry Pi, you must use Python 2.7 Former-commit-id: 813a997161461b90626359e2e23149f8fab59fbf --- libsrc/effectengine/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsrc/effectengine/CMakeLists.txt b/libsrc/effectengine/CMakeLists.txt index 619b691d..adb430e0 100644 --- a/libsrc/effectengine/CMakeLists.txt +++ b/libsrc/effectengine/CMakeLists.txt @@ -1,5 +1,7 @@ find_package(PythonLibs REQUIRED) +#OpenElec uses 2.7, if you want to compile for OpenElec require 2.7 +#find_package(PythonLibs 2.7 REQUIRED) # Include the python directory. Also include the parent (which is for example /usr/include) # which may be required when it is not includes by the (cross-) compiler by default. From 42e488c193be9394c0304eca2b85888438c7342c Mon Sep 17 00:00:00 2001 From: Serhan Date: Mon, 7 Mar 2016 12:10:30 +0100 Subject: [PATCH 2/2] Removed debug-build option Removed debug-build option Former-commit-id: ce88ca30ecf296617d6fe2d2b0e9d7f050d7d68a --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 81479cb3..9c8e077a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,9 +91,6 @@ include_directories(${CMAKE_SOURCE_DIR}/include) # Prefer static linking over dynamic #set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so") -set(CMAKE_BUILD_TYPE "Debug") -#set(CMAKE_BUILD_TYPE "Release") - # enable C++11 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall") #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++11 -Wall")