Use more of the relevant pkg-config variables
This commit is contained in:
parent
272ee62ad8
commit
85b2d8a2ee
@ -16,7 +16,10 @@ if (NOT NCURSESW_FOUND)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
add_executable (${PROJECT_NAME} ${PROJECT_NAME}.cpp)
|
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}
|
target_link_libraries (${PROJECT_NAME}
|
||||||
PUBLIC ${NCURSESW_LIBRARIES} ${ACL_LIBRARIES})
|
PUBLIC ${NCURSESW_LIBRARIES} ${ACL_LIBRARIES})
|
||||||
target_compile_features (${PROJECT_NAME} PUBLIC cxx_std_14)
|
target_compile_features (${PROJECT_NAME} PUBLIC cxx_std_14)
|
||||||
|
Loading…
Reference in New Issue
Block a user