Fix missing library for C++17 filesystem

This commit is contained in:
BlackMark 2020-07-17 14:52:49 +02:00
parent 69b14243bc
commit 17a1eab03d

View File

@ -71,6 +71,12 @@ target_link_libraries(AdaptiveBrightness
Qt5::SerialPort Qt5::SerialPort
) )
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang|AppleClang")
target_link_libraries(AdaptiveBrightness
stdc++fs
)
endif()
if(MSVC) if(MSVC)
target_link_libraries(AdaptiveBrightness target_link_libraries(AdaptiveBrightness
Dxva2.lib Dxva2.lib