Commit 22aa492c authored by incardon's avatar incardon

Fixing CMakeList.txt

parent 4520cbd2
......@@ -3,6 +3,10 @@ project(openfpm_pdata LANGUAGES C CXX)
enable_testing()
if (POLICY CMP0074)
cmake_policy(SET CMP0074 NEW)
endif()
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake_modules/)
set(BOOST_INCLUDE ${Boost_INCLUDE_DIR} CACHE PATH "Include directory for BOOST")
......
......@@ -55,8 +55,8 @@ target_link_libraries(metis_dec ${MPI_C_LIBRARIES})
target_link_libraries(dom_box ${Boost_LIBRARIES})
target_link_libraries(dom_box -L${PARMETIS_ROOT}/lib parmetis)
target_link_libraries(dom_box -L${METIS_ROOT}/lib metis)
target_link_libraries(dom_box -L${HDF5_ROOT}/lib hdf5 hdf5_hl)
#target_link_libraries(dom_box ${HDF5_LIBRARIES})
#target_link_libraries(dom_box -L${HDF5_ROOT}/lib hdf5 hdf5_hl)
target_link_libraries(dom_box ${HDF5_LIBRARIES})
target_link_libraries(dom_box -L${LIBHILBERT_LIBRARY_DIRS} ${LIBHILBERT_LIBRARIES})
target_link_libraries(dom_box ${MPI_C_LIBRARIES})
......
openfpm_data @ 151921ec
Subproject commit 6e1c547e785a6ce03b31dfbfd41d77314a169ecd
Subproject commit 151921ecf7d72831724e2a2faed2c1a4ec1b8984
openfpm_devices @ 1731012c
Subproject commit 1a3dfc0a96e4ad8ab61f7f1f7cdc9127ea99041c
Subproject commit 1731012c2018b015c60328458e12209ca82d29c5
openfpm_numerics @ 126db301
Subproject commit 7207e7c4e8d947a565fe0873573eee19c12c86c5
Subproject commit 126db301b546386a1b58b3a2315a63c2e472d9e1
openfpm_vcluster @ 09c23abd
Subproject commit 23c94dfb18a9b72887f98978afd1bca6ca6acbed
Subproject commit 09c23abd2cb87f3392fa2e5ac89349a63196f415
......@@ -30,7 +30,7 @@ if (CUDA_FOUND)
target_compile_options(pdata PUBLIC $<$<COMPILE_LANGUAGE:CUDA>: ${WARNING_SUPPRESSION_AND_OPTION_NVCC} >)
target_include_directories (pdata PUBLIC ${MPI_C_INCLUDE_DIRS})
if (TEST_COVERAGE)
target_compile_options(pdata PRIVATE $<$<COMPILE_LANGUAGE:CUDA>: -Xcompiler "-fprofile-arcs -ftest-coverage">)
target_compile_options(pdata PRIVATE $<$<COMPILE_LANGUAGE:CUDA>: -Xcompiler "-fprofile-arcs -ftest-coverage" >)
endif()
endif()
......
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