Userspace: Pprogram template and loadfont mark install as optional
This commit is contained in:
parent
86b6714777
commit
e00efca170
|
@ -15,7 +15,7 @@ add_executable($PROGRAM_NAME \${SOURCES})
|
||||||
banan_link_library($PROGRAM_NAME ban)
|
banan_link_library($PROGRAM_NAME ban)
|
||||||
banan_link_library($PROGRAM_NAME libc)
|
banan_link_library($PROGRAM_NAME libc)
|
||||||
|
|
||||||
install(TARGETS $PROGRAM_NAME)
|
install(TARGETS $PROGRAM_NAME OPTIONAL)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat > $PROGRAM_NAME/main.cpp << EOF
|
cat > $PROGRAM_NAME/main.cpp << EOF
|
||||||
|
|
|
@ -6,4 +6,4 @@ add_executable(loadfont ${SOURCES})
|
||||||
banan_link_library(loadfont ban)
|
banan_link_library(loadfont ban)
|
||||||
banan_link_library(loadfont libc)
|
banan_link_library(loadfont libc)
|
||||||
|
|
||||||
install(TARGETS loadfont)
|
install(TARGETS loadfont OPTIONAL)
|
||||||
|
|
Loading…
Reference in New Issue