fgfs and fgpanel need to be linked with the winsock library (on Windows)
This commit is contained in:
parent
a5a8090d52
commit
099bfd988b
2 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,7 @@ target_link_libraries(fgfs
|
||||||
${ZLIB_LIBRARIES}
|
${ZLIB_LIBRARIES}
|
||||||
${PLIB_LIBRARIES}
|
${PLIB_LIBRARIES}
|
||||||
${LIBSVN_LIBRARIES}
|
${LIBSVN_LIBRARIES}
|
||||||
|
${WINSOCK_LIBRARY}
|
||||||
${RT_LIBRARY})
|
${RT_LIBRARY})
|
||||||
|
|
||||||
install(TARGETS fgfs RUNTIME DESTINATION bin)
|
install(TARGETS fgfs RUNTIME DESTINATION bin)
|
||||||
|
|
|
@ -22,6 +22,7 @@ if(GLUT_FOUND)
|
||||||
${OPENGL_LIBRARIES}
|
${OPENGL_LIBRARIES}
|
||||||
${ZLIB_LIBRARIES}
|
${ZLIB_LIBRARIES}
|
||||||
${PLIB_LIBRARIES}
|
${PLIB_LIBRARIES}
|
||||||
|
${WINSOCK_LIBRARY}
|
||||||
${RT_LIBRARY}
|
${RT_LIBRARY}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue