From 2251d939386d3ff90606e77bd43753e94886f4b0 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Thu, 3 Sep 2020 17:18:28 -0700 Subject: [PATCH] CMake: Install cinema with tests --- src/platform/test/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/test/CMakeLists.txt b/src/platform/test/CMakeLists.txt index c81b339f8..2517e83bf 100644 --- a/src/platform/test/CMakeLists.txt +++ b/src/platform/test/CMakeLists.txt @@ -44,4 +44,5 @@ if(BUILD_CINEMA) target_link_libraries(${BINARY_NAME}-cinema ${BINARY_NAME} ${PLATFORM_LIBRARY}) set_target_properties(${BINARY_NAME}-cinema PROPERTIES COMPILE_DEFINITIONS "${OS_DEFINES};${FEATURE_DEFINES};${FUNCTION_DEFINES}") add_test(cinema ${BINARY_NAME}-cinema -v) + install(TARGETS ${BINARY_NAME}-cinema DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT ${BINARY_NAME}-test) endif()