linuxOS_D21X/source/artinchip/aic-authorization/test/CMakeLists.txt
2024-11-29 16:13:46 +08:00

12 lines
435 B
CMake

include_directories(../authorization)
add_executable(aic_hw_authorization_test test_aic_hw_authorization.c)
target_link_libraries(aic_hw_authorization_test authorization)
set_target_properties(aic_hw_authorization_test PROPERTIES INSTALL_RPATH "/usr/local/lib")
if(DEFINED CMAKE_INSTALL_FULL_BINDIR)
install(TARGETS aic_hw_authorization_test RUNTIME DESTINATION "${CMAKE_INSTALL_FULL_BINDIR}")
endif() # CMAKE_INSTALL_FULL_BINDIR