Add ovnisync and install targets
This commit is contained in:
parent
4f49289bf5
commit
2ebae042a8
@ -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 <PackageName>_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 <PackageName>_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)
|
||||
|
Loading…
Reference in New Issue
Block a user