fix compilation with mingw

pull/51/head
1234ab 5 years ago
parent b05d6931ae
commit f8774aba54

@ -14,7 +14,7 @@ function(_disable_warning flag)
endfunction()
function(_set_compile_options proj)
if (WIN32)
if(MSVC)
target_compile_options(${proj} PRIVATE /arch:AVX /Zi )
endif()
endfunction()

@ -79,7 +79,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "FLAC/all.h"
#if defined(_MSC_VER)
#if defined(_WIN32) || defined(_WIN64)
#include "FLAC/src/win_utf8_io.c"
#endif

Loading…
Cancel
Save