]> git.treefish.org Git - phys/u1casc.git/blob - u1casc-flux/CMakeLists.txt
Made c++11 standard dependency obsolete.
[phys/u1casc.git] / u1casc-flux / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8)
2
3 project(u1casc-flux)
4
5 #set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
6
7 # #PROFILING
8 # set(CMAKE_CXX_FLAGS -pg)
9 # set(CMAKE_EXE_LINKER_FLAGS -pg)
10 # set(CMAKE_SHARED_LINKER_FLAGS -pg)
11
12 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "./")
13
14 FIND_PACKAGE(GSL REQUIRED)
15 include_directories(${GSL_INCLUDE_DIRS})
16
17 SET(CMAKE_BUILD_TYPE Release)
18
19 add_subdirectory(latlib)
20
21 add_executable(u1casc-flux u1casc-flux.cpp)
22 target_link_libraries(u1casc-flux o815 ${GSL_LIBRARIES} lat_neigh)