source:
PSPA/madxPSPA/cmake/setupExternalProjects.cmake
@
457
Last change on this file since 457 was 430, checked in by , 11 years ago | |
---|---|
File size: 452 bytes |
Line | |
---|---|
1 | |
2 | find_package(PythonInterp) |
3 | if(${CMAKE_VERSION} VERSION_GREATER 2.8 AND PYTHONINTERP_FOUND) |
4 | option(INCLUDE_PYMAD "Build the external pymad project from pymad.github.com" OFF) |
5 | if(INCLUDE_PYMAD) |
6 | include(ExternalProject) |
7 | include(ExternalProject-pymad) |
8 | # For pymad to work, we need to force building shared libraries: |
9 | set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries (.so/.dll)" FORCE) |
10 | endif() |
11 | endif() |
Note: See TracBrowser
for help on using the repository browser.