Forked from
STJr / SRB2
Source project has a limited visibility.
-
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
Alam Ed Arias authoredCMake: 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