add -lstdc++fs for gcc <9
This commit is contained in:
parent
ce321a6e33
commit
2968d73f9f
@ -4,7 +4,7 @@ project(videosender)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
add_executable(videosender main.cpp webcam.cpp jpeg_img.cpp)
|
||||
|
||||
target_link_libraries( videosender -ljpeg )
|
||||
target_link_libraries( videosender -ljpeg -lstdc++fs)
|
||||
add_definitions("-s -Wall")
|
||||
|
||||
install(TARGETS videosender RUNTIME DESTINATION bin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user