Skip to content

Commit

Permalink
Merge pull request #96 from skliper/fix95-ut-install-dir
Browse files Browse the repository at this point in the history
Fix #95, Install unit test to target directory
  • Loading branch information
yammajamma committed Sep 17, 2020
2 parents 26b0b88 + 8f5384a commit caa55df
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 caa55df

Please sign in to comment.