]> git.treefish.org Git - phys/latlib.git/blobdiff - o815/CMakeLists.txt
...
[phys/latlib.git] / o815 / CMakeLists.txt
index 2d7a10286de14675985cd5fd7f768bfbb03576ba..60daa3b030a45dd8927b1b0cdc96f2fc3ec4e6f2 100644 (file)
@@ -8,13 +8,13 @@ if(NOT DEFINED ENV{MPI_DISABLED})
   set(CMAKE_CXX_LINK_FLAGS ${CMAKE_CXX_LINK_FLAGS} ${MPI_LINK_FLAGS})
   include_directories(${MPI_INCLUDE_PATH})
 else()
-  message("MPI support is disabled!")
+  message("O815: MPI support is disabled!")
 endif()
 
 SET(CMAKE_BUILD_TYPE Release)
 
 add_library(o815 o815.cpp obs.cpp sim.cpp)
-target_link_libraries(o815 ${MPI_LIBRARIES} lat_paraq lat_writeout lat_hypercache lat_progress)
+target_link_libraries(o815 ${MPI_LIBRARIES} lat_paraq lat_writeout lat_hypercache lat_progress lat_datread)
 if(DEFINED ENV{MPI_DISABLED})
   set_target_properties(o815 PROPERTIES COMPILE_DEFINITIONS "MPI_DISABLED")
 endif()