From 497609bb0229d752f54e01ff580d38499d126e96 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 19 Jun 2026 14:27:14 +0200 Subject: fix masm compiler options --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 28197a2..42c658e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,13 +3,13 @@ # CMAKE_MSVC_RUNTIME_LIBRARY and stuff. cmake_minimum_required(VERSION 3.25) -project(aes_tools C CXX) +project(aes_tools C CXX ASM) enable_testing() if (MSVC) - add_compile_options(/MP /W4 /WX) + add_compile_options("$<$>:/MP;/W4;/WX>") else() - add_compile_options(-Wall -Wextra -pedantic -Werror) + add_compile_options("$<$>:-Wall;-Wextra;-pedantic;-Werror>") endif() add_compile_definitions(WIN32_LEAN_AND_MEAN NOMINMAX) -- cgit v1.3