Add dir for popt library

This commit is contained in:
2021-10-05 23:30:46 -04:00
parent 49b62ee7bd
commit 00db3de911

View File

@@ -4,6 +4,7 @@ pkg_search_module(POPT REQUIRED popt)
include_directories("../include" ${POPT_INCLUDE_DIRS}) include_directories("../include" ${POPT_INCLUDE_DIRS})
add_executable(mazemaker mazemaker.c) add_executable(mazemaker mazemaker.c)
target_link_directories(mazemaker PUBLIC ${POPT_LIBRARY_DIRS})
target_link_libraries(mazemaker mazemaker_shared ${POPT_LIBRARIES}) target_link_libraries(mazemaker mazemaker_shared ${POPT_LIBRARIES})
install (TARGETS mazemaker DESTINATION bin) install (TARGETS mazemaker DESTINATION bin)