Skip to content

Commit

Permalink
Fix nasa#30, 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 ce70d3d commit 0a0a4c0
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 @@ -92,7 +92,9 @@ foreach(SRCFILE ${LIB_SRC_FILES})

# 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 0a0a4c0

Please sign in to comment.