cmake_minimum_required(VERSION 2.8) project(u1casc-flux) # #PROFILING # set(CMAKE_CXX_FLAGS -pg) # set(CMAKE_EXE_LINKER_FLAGS -pg) # set(CMAKE_SHARED_LINKER_FLAGS -pg) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "./") FIND_PACKAGE(GSL REQUIRED) include_directories(${GSL_INCLUDE_DIRS}) SET(CMAKE_BUILD_TYPE Release) add_subdirectory(latlib) add_executable(u1casc-flux u1casc-flux.cpp) target_link_libraries(u1casc-flux o815 ${GSL_LIBRARIES} lat_neigh)