add -lstdc++fs for gcc <9
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user