mirror of
https://git.gfz-potsdam.de/naaice/poet.git
synced 2025-12-16 12:54:50 +01:00
11 lines
307 B
CMake
11 lines
307 B
CMake
get_poet_version()
|
|
|
|
configure_file(poet.h.in poet.h)
|
|
|
|
add_executable(poet poet.cpp)
|
|
target_include_directories(poet PUBLIC "${CMAKE_CURRENT_BINARY_DIR}")
|
|
target_link_libraries(poet PUBLIC poet_lib MPI::MPI_C)
|
|
#target_compile_definitions(poet PRIVATE OMPI_SKIP_MPICXX)
|
|
|
|
install(TARGETS poet DESTINATION bin)
|