Skip to content

Commit c2bbcd3

Browse files
Try using /FORCE:UNRESOLVED for MSVC linker
1 parent 0350a29 commit c2bbcd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if(WIN32)
5050
set(CMAKE_C_FLAGS_DEBUG
5151
"${CMAKE_C_FLAGS_DEBUG} ${WARNING_FLAGS} ${SDL_FLAGS} -O0 -g1 -DDEBUG"
5252
)
53-
set(MKL_UMATH_LDFLAGS "/NXCompat;/DynamicBase")
53+
set(MKL_UMATH_LDFLAGS "/NXCompat;/DynamicBase;/FORCE:UNRESOLVED")
5454
elseif(UNIX)
5555
string(CONCAT WARNING_FLAGS
5656
"-Wall "

0 commit comments

Comments
 (0)