diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 8f0cdef2..75fecfb8 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -2,6 +2,7 @@ function(luna_app SOURCE_FILE APP_NAME) add_executable(${APP_NAME} ${SOURCE_FILE}) add_dependencies(${APP_NAME} libc) target_include_directories(${APP_NAME} PRIVATE ${LUNA_BASE}/usr/include) + target_link_directories(${APP_NAME} PRIVATE ${LUNA_BASE}/usr/lib) install(TARGETS ${APP_NAME} DESTINATION ${LUNA_ROOT}/initrd/bin) endfunction()