Commit 8671ff48 authored by Kim, Jungwon's avatar Kim, Jungwon

cmake fortran using env2 with stdc++

parent 298f4f87
......@@ -10,7 +10,7 @@ endmacro(papyruskv_test)
macro(papyruskv_test_fortran arg)
include_directories(${PROJECT_BINARY_DIR}/include)
add_executable(kv.${arg} ${arg}.f90)
target_link_libraries(kv.${arg} papyruskv pthread)
target_link_libraries(kv.${arg} papyruskv pthread stdc++)
add_test(kv.${arg} ${MPIEXEC} ${MPIEXEC_NUMPROC_FLAG} 4 ./kv.${arg})
set_tests_properties(kv.${arg} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED")
endmacro(papyruskv_test_fortran)
......
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