Commit 1100fee4 authored by incardon's avatar incardon
Browse files

Fixing CMake

parent 1e86f6a7
Pipeline #3931 passed with stages
in 6 minutes and 45 seconds
......@@ -26,7 +26,6 @@ add_subdirectory (../openfpm_vcluster openfpm_vcluster)
if (CUDA_ON_BACKEND STREQUAL "CUDA")
enable_language(CUDA)
find_package(CUDA)
endif()
set (CMAKE_CXX_STANDARD 14)
......
......@@ -65,7 +65,7 @@ if (CUDA_FOUND)
endif()
endif()
target_include_directories (io PUBLIC ${CUDA_INCLUDE_DIRS})
target_include_directories (io PUBLIC ${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES})
target_include_directories (io PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_include_directories (io PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../openfpm_devices/src/)
target_include_directories (io PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../openfpm_vcluster/src/)
......
......@@ -593,7 +593,7 @@ struct meta_prop<I, ele_g,St,T[N1],is_writable>
{stream_out << " " << vg.get(k).g.template get<I::value>(it.get())[i1];}
if (N1 == 2)
{stream_out << (decltype(vg.get(k).g.template get<I::value>(it.get())[0])) 0;}
{stream_out << " " << (decltype(vg.get(k).g.template get<I::value>(it.get())[0])) 0;}
stream_out << "\n";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment