Fix building

This commit is contained in:
Thomas A 2023-03-05 11:10:18 -08:00
parent bd87a4aaca
commit 5dc530faf6
2 changed files with 14 additions and 2 deletions

View File

@ -17,7 +17,10 @@ add_link_options(
-Wl,-pie
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/cups)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/cups
${CMAKE_CURRENT_SOURCE_DIR}/cups/xcode
)
add_subdirectory(cups/cups)
add_subdirectory(cups/tools)

View File

@ -4,7 +4,7 @@ project(cups-tools)
# link everything with libcups
#
foreach(EXE IN ITEMS ippevepcl ippeveps ippeveprinter ippfind ipptool)
foreach(EXE IN ITEMS ippevepcl ippeveps ippfind ipptool)
add_darling_executable(${EXE}
${EXE}.c
)
@ -13,6 +13,15 @@ foreach(EXE IN ITEMS ippevepcl ippeveps ippeveprinter ippfind ipptool)
)
endforeach()
add_darling_executable(ippeveprinter
ippeveprinter.c
)
target_link_libraries(ippeveprinter
cups
pam.2
)
#
# install everything
#