Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
tkanteck authored Jul 1, 2024
1 parent 21d6af9 commit ccea688
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions test/mp-app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ else()
set(TEST_APP_BIN_DIR "${CMAKE_CURRENT_BINARY_DIR}")
endif()

add_test(NAME MULTIPROCESS
COMMAND ${MP_APP_PRI} ${TEST_APP_BIN_DIR}/${MP_APP_SEC}
WORKING_DIRECTORY ${TEST_APP_BIN_DIR})
if(IMB_BIN_DIR)
add_test(NAME MULTIPROCESS
COMMAND ${MP_APP_PRI} ${MP_APP_SEC}
WORKING_DIRECTORY ${TEST_APP_BIN_DIR})
else()
add_test(NAME MULTIPROCESS
COMMAND ${MP_APP_PRI} ${TEST_APP_BIN_DIR}/${MP_APP_SEC}
WORKING_DIRECTORY ${TEST_APP_BIN_DIR})
endif()

0 comments on commit ccea688

Please sign in to comment.