cmake_minimum_required(VERSION 3.9) set(CMAKE_CXX_FLAGS_DEBUG "-g -Wall") set(CMAKE_CXX_FLAGS_RELEASE "-O3") set (CMAKE_CXX_STANDARD 17) set (CMAKE_C_STANDARD 11) include(GNUInstallDirs) link_directories(~/.local/lib64) add_executable(new_model src/new_model.cpp) target_include_directories(new_model PUBLIC ~/.local/include) target_link_libraries(new_model wolff)