mirror of
https://github.com/darlinghq/darling-cups.git
synced 2024-11-23 12:29:52 +00:00
Fix building
This commit is contained in:
parent
bd87a4aaca
commit
5dc530faf6
@ -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)
|
||||
|
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user