]> git.treefish.org Git - phys/latlib.git/blobdiff - o815/CMakeLists.txt
Added obsidprefix. Passing imeas to obs meas function.
[phys/latlib.git] / o815 / CMakeLists.txt
index 8431e25c9be367582591df5630b32c766ffa0a73..b50568c5b74c307d810a4ff88e9aa9e8b8ce352a 100644 (file)
@@ -5,9 +5,9 @@ project(o815)
 find_package(MPI REQUIRED)
 set(CMAKE_CXX_COMPILE_FLAGS ${CMAKE_CXX_COMPILE_FLAGS} ${MPI_COMPILE_FLAGS})
 set(CMAKE_CXX_LINK_FLAGS ${CMAKE_CXX_LINK_FLAGS} ${MPI_LINK_FLAGS})
-include_directories(${MPI_INCLUDE_PATH} ../)
+include_directories(${MPI_INCLUDE_PATH})
 
 SET(CMAKE_BUILD_TYPE Release)
 
-add_library(o815 o815.cpp obs.cpp)
-target_link_libraries(o815 ${MPI_LIBRARIES} lat_paraq lat_writeout)
+add_library(o815 o815.cpp obs.cpp sim.cpp)
+target_link_libraries(o815 ${MPI_LIBRARIES} lat_paraq lat_writeout lat_hypercache lat_progress)