diff --git a/examples/hello/bpWriteReadHip/CMakeLists.txt b/examples/hello/bpWriteReadHip/CMakeLists.txt index f6ea6cda2e..bb1b6d3acf 100644 --- a/examples/hello/bpWriteReadHip/CMakeLists.txt +++ b/examples/hello/bpWriteReadHip/CMakeLists.txt @@ -20,6 +20,6 @@ endif() if(ADIOS2_HAVE_Kokkos_HIP OR hip_FOUND) add_executable(adios2_hello_bpWriteReadHip bpWriteReadHip.cpp) target_link_libraries(adios2_hello_bpWriteReadHip adios2::cxx11 hip::device) - set_target_properties(adios2_hello_bpWriteReadHip PROPERTIES LANGUAGE "HIP") + set_source_files_properties(bpWriteReadHip.cpp PROPERTIES LANGUAGE HIP) install(TARGETS adios2_hello_bpWriteReadHip RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) endif()