summaryrefslogtreecommitdiff
blob: c1a1233f177bd40b91e0ef733c874b9857dd5f9d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,7 +25,7 @@
 
 add_executable(slurm ${SLURM_SOURCES})
 
-target_link_libraries(slurm ncurses)
+target_link_libraries(slurm ${CURSES_LIBRARY} ${CURSES_EXTRA_LIBRARY})
 
 # install
 install(TARGETS slurm DESTINATION bin)