Commit debe87a1 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Move opts to utils to enable sharing with other code.

parent 4a5b98d3
......@@ -18,7 +18,7 @@ add_executable(oscillator ${sources})
target_compile_options(oscillator PRIVATE "-std=c++11")
# Link with MPI.
target_link_libraries(oscillator PRIVATE mpi diy grid)
target_link_libraries(oscillator PRIVATE mpi diy grid opts)
# Threads
find_package(Threads)
......
......@@ -5,3 +5,7 @@ target_include_directories(diy
add_library(grid INTERFACE)
target_include_directories(grid
SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
add_library(opts INTERFACE)
target_include_directories(opts
SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment