From 88fb432a0f100e7e038ed40f08f8c06c411d1a76 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sat, 18 Jul 2020 16:38:55 +0800 Subject: Fix nasm.h not found when building in x86 The following is the error from compiler: Assembling cpu_asm.nasm cmd.exe /D /C "C:\Users\appveyor\AppData\Local\Temp\1\tmp62cb769c16c04b79a2f73246c8ccf95a.cmd" "/NASM/nasm.exe" -o "FLAC-asm.dir\Release\cpu_asm.obj" -fwin32 -I"C:\project\lib\flac\include\\" -I"C:\project\lib\flac\_build\Win32\\" -D"CMAKE_INTDIR="Release"" -dOBJ_FORMAT_win32 "C:\project\lib\flac\src\libFLAC\ia32\cpu_asm.nasm" C:\project\lib\flac\src\libFLAC\ia32\cpu_asm.nasm:34: fatal: unable to open include file `nasm.h' Closes #220. Signed-off-by: Ozkan Sezer --- src/libFLAC/ia32/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libFLAC/ia32/CMakeLists.txt b/src/libFLAC/ia32/CMakeLists.txt index 96b1c74a..014f6654 100644 --- a/src/libFLAC/ia32/CMakeLists.txt +++ b/src/libFLAC/ia32/CMakeLists.txt @@ -1,4 +1,4 @@ -#include_directories("${CMAKE_CURRENT_SOURCE_DIR}") +include_directories("${CMAKE_CURRENT_SOURCE_DIR}") add_compile_options(-I${CMAKE_CURRENT_SOURCE_DIR}/) if(APPLE) -- cgit v1.2.1