mirror of https://github.com/mgba-emu/mgba.git
CMake: Install cinema with tests
This commit is contained in:
parent
c825c57281
commit
2251d93938
|
@ -44,4 +44,5 @@ if(BUILD_CINEMA)
|
||||||
target_link_libraries(${BINARY_NAME}-cinema ${BINARY_NAME} ${PLATFORM_LIBRARY})
|
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}")
|
set_target_properties(${BINARY_NAME}-cinema PROPERTIES COMPILE_DEFINITIONS "${OS_DEFINES};${FEATURE_DEFINES};${FUNCTION_DEFINES}")
|
||||||
add_test(cinema ${BINARY_NAME}-cinema -v)
|
add_test(cinema ${BINARY_NAME}-cinema -v)
|
||||||
|
install(TARGETS ${BINARY_NAME}-cinema DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT ${BINARY_NAME}-test)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue