diff options
author | 박천교/On-Device Lab(SR)/Engineer/삼성전자 <ch.bahk@samsung.com> | 2019-04-09 13:20:42 +0900 |
---|---|---|
committer | 오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com> | 2019-04-09 13:20:42 +0900 |
commit | d90a68946eb09698dfbd38ebf07026eca53bdd81 (patch) | |
tree | cbfb554c01e05b797385b2d7b24422ffe3565c12 | |
parent | b7ee7320906921ec879b55a9410294ca8e643268 (diff) | |
download | nnfw-d90a68946eb09698dfbd38ebf07026eca53bdd81.tar.gz nnfw-d90a68946eb09698dfbd38ebf07026eca53bdd81.tar.bz2 nnfw-d90a68946eb09698dfbd38ebf07026eca53bdd81.zip |
Use variable for nnapi unittest install (#4951)
For consistency and code maintainability, better to use variable rather
than target name itself.
Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
-rw-r--r-- | tests/nnapi/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nnapi/CMakeLists.txt b/tests/nnapi/CMakeLists.txt index d03d1ae27..79af05bdb 100644 --- a/tests/nnapi/CMakeLists.txt +++ b/tests/nnapi/CMakeLists.txt @@ -49,7 +49,7 @@ target_link_libraries(${RUNTIME_NNAPI_TEST} nnapi-header) target_link_libraries(${RUNTIME_NNAPI_TEST} gtest) target_link_libraries(${RUNTIME_NNAPI_TEST} ${LIB_PTHREAD} dl) -install(TARGETS nnapi_gtest DESTINATION unittest) +install(TARGETS ${RUNTIME_NNAPI_TEST} DESTINATION unittest) install(FILES ${SKIPLIST_FILE_NAME} DESTINATION unittest |