Add dir for popt library
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user