Skip to content

Commit

Permalink
Fix paralle build bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Mar 21, 2019
1 parent f3a4d69 commit 5ee4cad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,9 @@ function(caf_compile_executable target main_depend)
-o "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${target}"
"${CMAKE_CURRENT_SOURCE_DIR}/${main_depend}"
"${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libopencoarrays_test_utilities.a"
"${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/libopencoarrays_mod.a"
${ARGN}
DEPENDS "${main_depend}" ${ARGN} caf_mpi_static opencoarrays_test_utilities
DEPENDS "${main_depend}" ${ARGN} caf_mpi_static opencoarrays_test_utilities opencoarrays_mod
VERBATIM
)
add_custom_target("build_${target}" ALL
Expand Down

0 comments on commit 5ee4cad

Please sign in to comment.