source: PSPA/madxPSPA/libs/ptc/src/CMakeLists.txt @ 430

Last change on this file since 430 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 412 bytes
Line 
1
2
3file(GLOB src_files *.f90)
4
5# Some weird problem with this file with gfortran < 4.6..
6if(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")
9endif()
10
11
12add_library(ptc ${src_files})
13
14set_target_properties(ptc PROPERTIES VERSION ${MADX_VERSION} SOVERSION 1)
15
16madx_install_targets(ptc)
Note: See TracBrowser for help on using the repository browser.