diff --git a/src/emu/CMakeLists.txt b/src/emu/CMakeLists.txt index 4219ae3..ec7aff7 100644 --- a/src/emu/CMakeLists.txt +++ b/src/emu/CMakeLists.txt @@ -63,14 +63,14 @@ target_link_libraries(ovnidump emu parson-static ovni-static) add_executable(ovnisort ovnisort.c) target_link_libraries(ovnisort emu parson-static ovni-static) -## Use _ROOT variables if available, commonly used by MPI -## installations -#if(POLICY CMP0074) -# cmake_policy(SET CMP0074 NEW) -#endif() -# -#find_package(MPI REQUIRED) -#add_executable(ovnisync ovnisync.c) -#target_link_libraries(ovnisync m MPI::MPI_C) -# -#install(TARGETS ovniemu ovnidump ovnisync ovnisort RUNTIME DESTINATION bin) +# Use _ROOT variables if available, commonly used by MPI +# installations +if(POLICY CMP0074) + cmake_policy(SET CMP0074 NEW) +endif() + +find_package(MPI REQUIRED) +add_executable(ovnisync ovnisync.c) +target_link_libraries(ovnisync m MPI::MPI_C) + +install(TARGETS ovniemu ovnidump ovnisync ovnisort RUNTIME DESTINATION bin)