1. 23 Jun, 2021 1 commit
    • Chocobo1's avatar
      Fix nasm.h not found when building in x86 · 88fb432a
      Chocobo1 authored and Ralph Giles's avatar Ralph Giles committed
      
      
      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's avatarOzkan Sezer <sezeroz@gmail.com>
      88fb432a
  2. 15 Nov, 2019 1 commit
    • sezero's avatar
      cmake_minimum_required() cleanup: · cdcf0d55
      sezero authored and Erik de Castro Lopo's avatar Erik de Castro Lopo committed
      - document version requirements in the top-level file.
      - remove incorrect version requirements from sub-dirs.
      - set min. required version to 3.5 in top-level file.
      - set minimun required version to 3.9 under docs/ .
      - make documents building an option (on by default.)
        so, the tree can be built using cmake-3.5 using
       -DBUILD_DOCS=0 on the command line.
      cdcf0d55
  3. 10 Oct, 2019 1 commit
    • sezero's avatar
      cmake: fix nasm sources build when building in a separate directory · 952d5116
      sezero authored and Erik de Castro Lopo's avatar Erik de Castro Lopo committed
      When building in the same directory as the source, it works, but not in
      a separate directory.  The trailing slash is important with nasm.  Note
      that include_directories("${CMAKE_CURRENT_SOURCE_DIR}/") does not work
      because cmake seems to strip the trailing slash.
      
      Also relax the cmake version requirement from 3.12 to 3.9 as everywhere
      else in the tree: it works just fine.
      952d5116
  4. 04 May, 2019 2 commits