summaryrefslogtreecommitdiff
blob: ccb00fbeb0944fc9a5040798f3c829e8529c02b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://github.com/mattthias/slurm/pull/38
--- 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)