Skip to content

Commit

Permalink
Fix #95, Install unit test to target directory
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Sep 11, 2020
1 parent 9ff605e commit 8f5384a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unit-test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ foreach(SRCFILE sample_app.c)

# Add it to the set of tests to run as part of "make test"
add_test(${TESTNAME} ${TESTNAME}-testrunner)
install(TARGETS ${TESTNAME}-testrunner DESTINATION ${TGTNAME}/${UT_INSTALL_SUBDIR})
foreach(TGT ${INSTALL_TARGET_LIST})
install(TARGETS ${TESTNAME}-testrunner DESTINATION ${TGT}/${UT_INSTALL_SUBDIR})
endforeach()

endforeach()

0 comments on commit 8f5384a

Please sign in to comment.