Skip to content
Snippets Groups Projects
Forked from STJr / SRB2
Source project has a limited visibility.
  • Alam Ed Arias's avatar
    e7a1c813
    Merge branch 'cmake_nasm' into 'master' · e7a1c813
    Alam Ed Arias authored
    CMake: Fix nasm Linux builds
    
    When compiling under Linux with CMake and nasm/yasm enabled, the operation would fail during linking with undefined symbols related to the tmap files.
    This commit adds support for passing flags to the assembler and passes ```-DLINUX``` in order to compile.
    
    After this change, binaries are successfully compiled with either nasm or yasm on Linux systems.
    Tested on Ubuntu.
    
    See merge request !153
    e7a1c813
    History
    Merge branch 'cmake_nasm' into 'master'
    Alam Ed Arias authored
    CMake: Fix nasm Linux builds
    
    When compiling under Linux with CMake and nasm/yasm enabled, the operation would fail during linking with undefined symbols related to the tmap files.
    This commit adds support for passing flags to the assembler and passes ```-DLINUX``` in order to compile.
    
    After this change, binaries are successfully compiled with either nasm or yasm on Linux systems.
    Tested on Ubuntu.
    
    See merge request !153