Skip to content

Commit

Permalink
CMAKE: fixed missing safeseh for masm files
Browse files Browse the repository at this point in the history
  • Loading branch information
mgerhardy committed Sep 3, 2023
1 parent 78c0c03 commit 0f68abb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ function(add_asm TARGET)
set_property(SOURCE ${_file} APPEND PROPERTY COMPILE_DEFINITIONS idx64=1)
endif()
set_property(SOURCE ${_file} APPEND PROPERTY LANGUAGE ASM_MASM)
set_source_files_properties(${_file} PROPERTIES COMPILE_FLAGS "/safeseh")
endforeach()
target_sources(${TARGET} PRIVATE ${ASM_SRCS})
else()
Expand Down

0 comments on commit 0f68abb

Please sign in to comment.