source:
PSPA/madxPSPA/libs/ptc/src/CMakeLists.txt
@
430
Last change on this file since 430 was 430, checked in by , 11 years ago | |
---|---|
File size: 412 bytes |
Rev | Line | |
---|---|---|
[430] | 1 | |
2 | ||
3 | file(GLOB src_files *.f90) | |
4 | ||
5 | # Some weird problem with this file with gfortran < 4.6.. | |
6 | if(CMAKE_Fortran_COMPILER_ID STREQUAL "GNU" AND | |
7 | CMAKE_Fortran_COMPILER_VERSION VERSION_LESS "4.6") | |
8 | set_source_files_properties(l_complex_taylor.f90 COMPILE_FLAGS "-O2") | |
9 | endif() | |
10 | ||
11 | ||
12 | add_library(ptc ${src_files}) | |
13 | ||
14 | set_target_properties(ptc PROPERTIES VERSION ${MADX_VERSION} SOVERSION 1) | |
15 | ||
16 | madx_install_targets(ptc) |
Note: See TracBrowser
for help on using the repository browser.