1 cmake_minimum_required(VERSION 2.8)
5 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
8 # set(CMAKE_CXX_FLAGS -pg)
9 # set(CMAKE_EXE_LINKER_FLAGS -pg)
10 # set(CMAKE_SHARED_LINKER_FLAGS -pg)
12 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "./")
14 FIND_PACKAGE(GSL REQUIRED)
15 include_directories(${GSL_INCLUDE_DIRS})
17 SET(CMAKE_BUILD_TYPE Release)
19 add_subdirectory(latlib)
21 add_executable(u1casc-ordinary u1casc-ordinary.cpp)
22 target_link_libraries(u1casc-ordinary o815 ${GSL_LIBRARIES} lat_neigh)