From e1c08901f8247a7d4336701dd5dab1955f4309b6 Mon Sep 17 00:00:00 2001 From: nekobit Date: Mon, 23 Jan 2023 18:55:30 +0000 Subject: [PATCH] FCGI FossilOrigin-Name: bb3e5b890e12776482d79f2ccdcaad1790f03a2aa5a7849f4b9ce92489087c26 --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d3f2e0b..80f4b87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})