Adds python version check

This commit is contained in:
Ryan Houdek 2021-02-05 10:36:52 -08:00
parent abefae2b58
commit 69891867b1

View File

@ -103,6 +103,8 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
message(FATAL_ERROR "FEX doesn't support getting compiled with GCC!")
endif()
find_package(Python 3.0 REQUIRED COMPONENTS Interpreter Development)
add_definitions(-Wno-trigraphs)
add_definitions(-DGLOBAL_DATA_DIRECTORY="${DATA_DIRECTORY}/")