Fix priority

This commit is contained in:
Martin Hořeňovský 2019-07-19 20:57:40 +02:00
parent 48772027ea
commit 73b5c7eed3
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -42,7 +42,7 @@ if(USE_WMAIN)
endif() endif()
if (BUILD_TESTING AND CATCH_BUILD_TESTING AND NOT_SUBPROJECT) if (BUILD_TESTING AND CATCH_BUILD_TESTING AND NOT_SUBPROJECT)
find_package(Python3 COMPONENTS Interpreter) find_package(Python COMPONENTS Interpreter)
if (NOT Python_Interpreter_FOUND) if (NOT Python_Interpreter_FOUND)
message(FATAL_ERROR "Python not found, but required for tests") message(FATAL_ERROR "Python not found, but required for tests")
endif() endif()