Move nasm check inside unit tests

Allow building of fex without nasm if unit tests are disabled
This commit is contained in:
Scott Mansell 2021-01-31 00:25:14 +13:00
parent c3ab5bca5e
commit 16e7ba6fa8
3 changed files with 8 additions and 4 deletions

View File

@ -1,7 +1,3 @@
enable_language(ASM_NASM)
if(NOT CMAKE_ASM_NASM_COMPILER_LOADED)
error("Failed to find NASM compatible assembler!")
endif()
set(SYSCALL_SRCS
LinuxSyscalls/FileManagement.cpp

View File

@ -1,3 +1,7 @@
enable_language(ASM_NASM)
if(NOT CMAKE_ASM_NASM_COMPILER_LOADED)
error("Failed to find NASM compatible assembler!")
endif()
# Careful. Globbing can't see changes to the contents of files
# Need to do a fresh clean to see changes

View File

@ -1,3 +1,7 @@
enable_language(ASM_NASM)
if(NOT CMAKE_ASM_NASM_COMPILER_LOADED)
error("Failed to find NASM compatible assembler!")
endif()
# Careful. Globbing can't see changes to the contents of files
# Need to do a fresh clean to see changes