Skip to content

Commit

Permalink
POSIX: Add a install target entry
Browse files Browse the repository at this point in the history
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 <festevam@denx.de>
  • Loading branch information
Fabio Estevam authored and MartinMelikMerkumians committed Jan 8, 2024
1 parent b744a90 commit 40124a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/src/ports/POSIX/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})

0 comments on commit 40124a7

Please sign in to comment.