From 85b2d8a2ee966794768f26cfc2404c850d33e096 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Sat, 21 Dec 2024 16:43:03 +0100 Subject: Use more of the relevant pkg-config variables --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 78f13a4..87e5206 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,10 @@ if (NOT NCURSESW_FOUND) endif () add_executable (${PROJECT_NAME} ${PROJECT_NAME}.cpp) -target_include_directories (${PROJECT_NAME} PUBLIC ${NCURSESW_INCLUDE_DIRS}) +target_include_directories (${PROJECT_NAME} + PUBLIC ${NCURSESW_INCLUDE_DIRS} ${ACL_INCLUDE_DIRS}) +target_link_directories (${PROJECT_NAME} + PUBLIC ${NCURSESW_LIBRARY_DIRS} ${ACL_LIBRARY_DIRS}) target_link_libraries (${PROJECT_NAME} PUBLIC ${NCURSESW_LIBRARIES} ${ACL_LIBRARIES}) target_compile_features (${PROJECT_NAME} PUBLIC cxx_std_14) -- cgit v1.2.3-70-g09d2