Commit 824b9f65 authored by Markus Mirz's avatar Markus Mirz
Browse files

cmake: fix find package python


Signed-off-by: Markus Mirz's avatarMarkus Mirz <mmirz@eonerc.rwth-aachen.de>
parent 5f16b500
......@@ -128,10 +128,7 @@ else()
find_package(pybind11)
endif()
find_package (Python3 COMPONENTS Interpreter Development)
if(Python3_FOUND)
set(Python_FOUND ON)
endif()
find_package (Python COMPONENTS Interpreter Development)
if("${CMAKE_SYSTEM}" MATCHES "Linux")
set(Linux_FOUND ON)
......
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