FossilOrigin-Name: bb3e5b890e12776482d79f2ccdcaad1790f03a2aa5a7849f4b9ce92489087c26
This commit is contained in:
nekobit 2023-01-23 18:55:30 +00:00
parent e51bc1a07e
commit e1c08901f8
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,7 @@ find_package(PkgConfig REQUIRED)
# Note: See cmake/os_hacks.cmake as imported before!
# There's an issue with FreeBSD (possible others) where... well, FCGI doesn't have a pkg-config file...
# So we have to "emulate" a package here ourselves. :-)
pkg_check_modules(FCGI fcgi)
pkg_check_modules(FCGI fcgi REQUIRED)
# For some reason the arguments from Perl are stored as a full string
# Blame CMake(?), not me...
@ -133,6 +133,7 @@ target_sources(treebird PUBLIC ${SRC_FILES})
target_include_directories(treebird PUBLIC
${PERL_INCLUDE_DIRS}
${FCGI_INCLUDE_DIRS}
${MASTODONT_INCLUDE_DIRS}
${CURL_INCLUDE_DIRS})
@ -140,4 +141,5 @@ target_include_directories(treebird PUBLIC
target_link_libraries(treebird PUBLIC
${PERL_LIBRARIES}
${CURL_LIBRARIES}
${FCGI_LIBRARIES}
${MASTODONT_LIBRARIES})