Skip to content

CMake: Fix nasm Linux builds

Tasos Sahanidis requested to merge (removed):cmake_nasm into master

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.

Merge request reports

Loading