mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Merge pull request #509 from tpmodding/patch-1
Update CMakeLists.txt for OpenElec -> Python 2.7 Former-commit-id: 7a088e38a0079bef4a083a3336da92036773ef45
This commit is contained in:
commit
7f4ea9ae7b
@ -91,9 +91,6 @@ include_directories(${CMAKE_SOURCE_DIR}/include)
|
|||||||
# Prefer static linking over dynamic
|
# Prefer static linking over dynamic
|
||||||
#set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so")
|
#set(CMAKE_FIND_LIBRARY_SUFFIXES ".a;.so")
|
||||||
|
|
||||||
set(CMAKE_BUILD_TYPE "Debug")
|
|
||||||
#set(CMAKE_BUILD_TYPE "Release")
|
|
||||||
|
|
||||||
# enable C++11
|
# enable C++11
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall")
|
||||||
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++11 -Wall")
|
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++11 -Wall")
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
|
|
||||||
find_package(PythonLibs REQUIRED)
|
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)
|
# 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.
|
# which may be required when it is not includes by the (cross-) compiler by default.
|
||||||
|
Loading…
Reference in New Issue
Block a user