Update cmakelists to fix build on new machine
This commit is contained in:
parent
27921f0155
commit
cb3b3c98f5
|
@ -32,7 +32,7 @@ target_include_directories(fd PRIVATE include)
|
||||||
|
|
||||||
if (APPLE)
|
if (APPLE)
|
||||||
# Equivalent to pass flags -framework OpenGL
|
# 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()
|
else()
|
||||||
target_link_libraries(fd GL GLU glut ${OpenCV_LIBS} )
|
target_link_libraries(fd GL GLU glut ${OpenCV_LIBS} pthread)
|
||||||
endif()
|
endif()
|
Loading…
Reference in New Issue