Update cmakelists to fix build on new machine

This commit is contained in:
Matt McWilliams 2024-10-22 15:17:58 -04:00
parent 27921f0155
commit cb3b3c98f5
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ target_include_directories(fd PRIVATE include)
if (APPLE)
# Equivalent to pass flags -framework OpenGL
target_link_libraries(fd OpenGL::GL GLUT::GLUT ${OpenCV_LIBS})
target_link_libraries(fd OpenGL::GL GLUT::GLUT ${OpenCV_LIBS} pthread)
else()
target_link_libraries(fd GL GLU glut ${OpenCV_LIBS} )
target_link_libraries(fd GL GLU glut ${OpenCV_LIBS} pthread)
endif()