From 40124a7dca4919a8e5859007e442efe7b27d6f02 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Fri, 29 Dec 2023 21:56:56 -0300 Subject: [PATCH] POSIX: Add a install target entry While adding OpENer support into OpenEmbedded the following error is seen on the installation phase: | ninja: error: unknown target 'install' Fix it by adding a install target so that the OpENer binary can be properly installed. Signed-off-by: Fabio Estevam --- source/src/ports/POSIX/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/src/ports/POSIX/CMakeLists.txt b/source/src/ports/POSIX/CMakeLists.txt index 171b1be68..b5ffef015 100755 --- a/source/src/ports/POSIX/CMakeLists.txt +++ b/source/src/ports/POSIX/CMakeLists.txt @@ -64,3 +64,5 @@ if( NOT OpENer_TESTS) message(STATUS "No additional activated objects") endif() endif() + +install (PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/OpENer DESTINATION ${CMAKE_INSTALL_BINDIR})