Procházet zdrojové kódy

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 <festevam@denx.de>
Fabio Estevam před 2 roky
rodič
revize
40124a7dca
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      source/src/ports/POSIX/CMakeLists.txt

+ 2 - 0
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})