|
Lines 79-85
IF (USE_PYALEMBIC AND APPLE)
Link Here
|
| 79 |
ENDIF() |
79 |
ENDIF() |
| 80 |
|
80 |
|
| 81 |
IF (USE_PYALEMBIC) |
81 |
IF (USE_PYALEMBIC) |
| 82 |
FIND_PACKAGE(Boost 1.42.0 COMPONENTS program_options python) |
82 |
# At least cmake-3.11 has introduced a new syntax while looking for |
|
|
83 |
# boost python libraries. It might apply to version 10 too, but I |
| 84 |
# couldn't check due to cmake-3.10 compile error. |
| 85 |
IF (CMAKE_MINOR_VERSION VERSION_GREATER 10) |
| 86 |
FIND_PACKAGE(Boost 1.42.0 COMPONENTS program_options python2.7) |
| 87 |
ELSE() |
| 88 |
FIND_PACKAGE(Boost 1.42.0 COMPONENTS program_options python) |
| 89 |
ENDIF() |
| 83 |
ELSE() |
90 |
ELSE() |
| 84 |
FIND_PACKAGE(Boost 1.42.0 COMPONENTS program_options) |
91 |
FIND_PACKAGE(Boost 1.42.0 COMPONENTS program_options) |
| 85 |
ENDIF() |
92 |
ENDIF() |