File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,9 @@ else()
190
190
endif ()
191
191
192
192
set (MSVC_INCLUDE "${MSVC_BASE} /include" )
193
+ set (ATLMFC_INCLUDE "${MSVC_BASE} /atlmfc/include" )
193
194
set (MSVC_LIB "${MSVC_BASE} /lib" )
195
+ set (ATLMFC_LIB "${MSVC_BASE} /atlmfc/lib" )
194
196
set (WINSDK_INCLUDE "${WINSDK_BASE} /Include/${WINSDK_VER} " )
195
197
set (WINSDK_LIB "${WINSDK_BASE} /Lib/${WINSDK_VER} " )
196
198
@@ -246,6 +248,7 @@ set(COMPILE_FLAGS
246
248
-D_CRT_SECURE_NO_WARNINGS
247
249
--target=${TRIPLE_ARCH}-windows-msvc
248
250
-fms-compatibility-version=19.11
251
+ -imsvc "${ATLMFC_INCLUDE} "
249
252
-imsvc "${MSVC_INCLUDE} "
250
253
-imsvc "${WINSDK_INCLUDE} /ucrt"
251
254
-imsvc "${WINSDK_INCLUDE} /shared"
@@ -282,6 +285,7 @@ set(LINK_FLAGS
282
285
# Prevent CMake from attempting to invoke mt.exe. It only recognizes the slashed form and not the dashed form.
283
286
/manifest:no
284
287
288
+ -libpath: "${ATLMFC_LIB} /${WINSDK_ARCH} "
285
289
-libpath: "${MSVC_LIB} /${WINSDK_ARCH} "
286
290
-libpath: "${WINSDK_LIB} /ucrt/${WINSDK_ARCH} "
287
291
-libpath: "${WINSDK_LIB} /um/${WINSDK_ARCH} " )
You can’t perform that action at this time.
0 commit comments