Python not just for Windows...

This commit is contained in:
Kilrah
2017-10-08 21:14:02 +02:00
parent 6a14fe728e
commit 69118a96be
+1 -1
View File
@@ -60,6 +60,7 @@ if(WIN32)
set(WIN_EXTRA_LIBS_PATH "C:/Programs" CACHE PATH set(WIN_EXTRA_LIBS_PATH "C:/Programs" CACHE PATH
"Base path to extra libs/headers on Windows (SDL & pthreads folders should be in here).") "Base path to extra libs/headers on Windows (SDL & pthreads folders should be in here).")
list(APPEND CMAKE_PREFIX_PATH "${WIN_EXTRA_LIBS_PATH}" "${WIN_EXTRA_LIBS_PATH}/SDL") # hints for FindSDL list(APPEND CMAKE_PREFIX_PATH "${WIN_EXTRA_LIBS_PATH}" "${WIN_EXTRA_LIBS_PATH}/SDL") # hints for FindSDL
endif()
# Python check # Python check
find_package("PythonInterp") find_package("PythonInterp")
@@ -70,7 +71,6 @@ if(WIN32)
message(WARNING "Python not found! Most firmware and simu flavors not buildable.") message(WARNING "Python not found! Most firmware and simu flavors not buildable.")
set(LUA NO) set(LUA NO)
endif() endif()
endif()
find_package(Qt5Core) find_package(Qt5Core)
find_package(Qt5Widgets) find_package(Qt5Widgets)