Add a necessary switch for ghc filesystem

under windows
This commit is contained in:
Paul Ferrand 2020-01-05 00:14:25 +01:00
parent d7ae7a1d5b
commit 91e0401548

View file

@ -22,7 +22,8 @@ if (WIN32)
find_package(LibSndFile REQUIRED)
find_path(SNDFILE_INCLUDE_DIR sndfile.hh)
find_path(SAMPLERATE_INCLUDE_DIR samplerate.h)
add_compile_options(/std:c++17)
set(CMAKE_CXX_STANDARD 17)
add_compile_options(/Zc:__cplusplus)
endif()
function(SFIZZ_LINK_LIBSNDFILE TARGET)