Lines 118-125
find_package(PVRTools)
Link Here
|
118 |
find_package(Lua51) |
118 |
find_package(Lua51) |
119 |
find_package(TOLUAPP) |
119 |
find_package(TOLUAPP) |
120 |
|
120 |
|
121 |
find_package(Python2 COMPONENTS Interpreter Development) |
121 |
option(USE_PYTHON2 "Use deprecated python2 instead of python3" OFF) |
122 |
find_package(Python3 COMPONENTS Interpreter Development) |
122 |
option(USE_PYTHON3 "Use python3" ON) |
|
|
123 |
if(USE_PYTHON2) |
124 |
find_package(Python2 COMPONENTS Interpreter Development) |
125 |
endif() |
126 |
if(USE_PYTHON3) |
127 |
find_package(Python3 COMPONENTS Interpreter Development) |
128 |
endif() |
129 |
if(NOT USE_PYTHON3 AND NOT USE_PYTHON2) |
130 |
message(FATAL_ERROR "You need to select one python interpreter") |
131 |
endif() |
123 |
find_package(Boost) |
132 |
find_package(Boost) |
124 |
if(${Boost_VERSION} GREATER_EQUAL 106700) |
133 |
if(${Boost_VERSION} GREATER_EQUAL 106700) |
125 |
if (Python2_FOUND) |
134 |
if (Python2_FOUND) |
126 |
- |
|
|