mirror of
https://github.com/rd235/cado
synced 2024-12-27 06:24:11 +01:00
config.h patch (credit @rd235)
This commit is contained in:
parent
97a13ad95b
commit
576d72c6b3
@ -24,8 +24,8 @@ else (WITHEDITOR)
|
|||||||
endif (WITHEDITOR)
|
endif (WITHEDITOR)
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
"${PROJECT_SOURCE_DIR}/include/config.h.in"
|
"include/config.h.in"
|
||||||
"${PROJECT_SOURCE_DIR}/include/config.h"
|
"include/config.h"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_subdirectory(man)
|
add_subdirectory(man)
|
||||||
|
@ -5,27 +5,27 @@ add_executable(
|
|||||||
read_conf.c set_ambient_cap.c compute_digest.c file_utils.c
|
read_conf.c set_ambient_cap.c compute_digest.c file_utils.c
|
||||||
scado_parse.c cado_scado_check.c
|
scado_parse.c cado_scado_check.c
|
||||||
)
|
)
|
||||||
target_include_directories(cado PRIVATE ${PROJECT_SOURCE_DIR}/include)
|
target_include_directories(cado PRIVATE ${PROJECT_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include)
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
cado ${pam_library} ${pam_misc_library} ${cap_library} ${mhash_library}
|
cado ${pam_library} ${pam_misc_library} ${cap_library} ${mhash_library}
|
||||||
${execs_library})
|
${execs_library})
|
||||||
|
|
||||||
add_executable(cadrop cadrop.c capset_from_namelist.c set_ambient_cap.c)
|
add_executable(cadrop cadrop.c capset_from_namelist.c set_ambient_cap.c)
|
||||||
target_include_directories(cadrop PRIVATE ${PROJECT_SOURCE_DIR}/include)
|
target_include_directories(cadrop PRIVATE ${PROJECT_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include)
|
||||||
target_link_libraries(cadrop ${cap_library})
|
target_link_libraries(cadrop ${cap_library})
|
||||||
|
|
||||||
add_executable(
|
add_executable(
|
||||||
scado scado.c pam_check.c file_utils.c compute_digest.c
|
scado scado.c pam_check.c file_utils.c compute_digest.c
|
||||||
capset_from_namelist.c scado_parse.c
|
capset_from_namelist.c scado_parse.c
|
||||||
)
|
)
|
||||||
target_include_directories(scado PRIVATE ${PROJECT_SOURCE_DIR}/include)
|
target_include_directories(scado PRIVATE ${PROJECT_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include)
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
scado ${pam_library} ${pam_misc_library} ${cap_library} ${mhash_library}
|
scado ${pam_library} ${pam_misc_library} ${cap_library} ${mhash_library}
|
||||||
${execs_library}
|
${execs_library}
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(caprint caprint.c)
|
add_executable(caprint caprint.c)
|
||||||
target_include_directories(caprint PRIVATE ${PROJECT_SOURCE_DIR}/include)
|
target_include_directories(caprint PRIVATE ${PROJECT_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include)
|
||||||
target_link_libraries(caprint ${cap_library})
|
target_link_libraries(caprint ${cap_library})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
Loading…
Reference in New Issue
Block a user