# #nasm Netwide assembler # #Install prebuilt binaries. Source code is readily available, but is infected #by autotools. Don't bother building from source. # #if (WIN32) ExternalProject_Add( nasm PREFIX ${CMAKE_INSTALL_PREFIX} BUILD_IN_SOURCE 1 URL https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win64/nasm-2.14.02-win64.zip URL_MD5 bce3b7e205bab546ead85db761df89db CONFIGURE_COMMAND "" BUILD_COMMAND "" INSTALL_COMMAND ${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX= -P ${CMAKE_CURRENT_LIST_DIR}/install.cmake ) #endif (WIN32) if (UNIX) #Rely on installation via the package manager. #You can then invoke bison as /usr/bin/nasm #sudo apt-get -q -y install nasm endif (UNIX)