Skip to content

Commit a08d620

Browse files
committed
fix x86 build with Visual Studio 17 2022 Generator
1 parent 1f42c6c commit a08d620

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dll_proxy/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ endif()
1010

1111
target_link_options(${PROJECT_NAME} INTERFACE
1212
"/DEF:${CMAKE_CURRENT_SOURCE_DIR}/dwmapi.def"
13+
# /SAFESEH:NO # Fix x86 build with Visual Studio 17 2022 Generator.
1314
)
1415

1516
target_include_directories(
@@ -22,4 +23,4 @@ if(${CMAKE_BUILD_TYPE} STREQUAL "Release")
2223
include(../cmake/profile/release.cmake)
2324
else()
2425
include(../cmake/profile/debug.cmake)
25-
endif()
26+
endif()

0 commit comments

Comments
 (0)