Skip to content

Commit

Permalink
Make dohp_link_executable handle multiple sources
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Apr 20, 2011
1 parent 19f1f88 commit 15becbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

# Convenience for testing
function (dohp_link_executable name source)
add_executable (${name} ${source})
target_link_libraries (${name} dohp)
add_executable ("${name}" "${source}" "${ARGN}")
target_link_libraries ("${name}" dohp)
endfunction ()
function (dohp_add_test name np)
if (Dohp_TESTS_MALLOC_DUMP)
Expand Down

0 comments on commit 15becbd

Please sign in to comment.