build: remove python dependency for non windows
This commit is contained in:
parent
01565ba9a9
commit
f26581f20a
1 changed files with 1 additions and 9 deletions
|
|
@ -23,9 +23,9 @@ macro(configure_libs)
|
||||||
configure_unix_libs()
|
configure_unix_libs()
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
configure_windows_libs()
|
configure_windows_libs()
|
||||||
|
find_package(Python REQUIRED QUIET)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
configure_python()
|
|
||||||
configure_qt()
|
configure_qt()
|
||||||
configure_openssl()
|
configure_openssl()
|
||||||
configure_coverage()
|
configure_coverage()
|
||||||
|
|
@ -345,14 +345,6 @@ macro(configure_windows_libs)
|
||||||
|
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
macro(configure_python)
|
|
||||||
if(WIN32)
|
|
||||||
find_package(Python REQUIRED QUIET)
|
|
||||||
else()
|
|
||||||
find_package(Python3 REQUIRED QUIET)
|
|
||||||
endif()
|
|
||||||
endmacro()
|
|
||||||
|
|
||||||
macro(configure_qt)
|
macro(configure_qt)
|
||||||
|
|
||||||
find_package(
|
find_package(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue