I realized I might have malformed the path with backslash and forwardslash combinations. Plus, it would have been \/ after replacing ArtifactsDir.

This commit is contained in:
Michael Yanni 2024-02-08 10:13:40 -08:00
parent 1e82a09ddf
commit ada9fdf32b

View file

@ -12,9 +12,9 @@ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SUBSYSTEM:WINDOWS /ENTRY:
# The WiX SDK is extracted from a NuGet package using an SDK .csproj (finalizer-build) that copies the "lib" and "inc" folders to a stable location.
# The defines below (values in ${}) are set in the finalizer.nativeproj.
# See: https://github.com/dotnet/arcade/tree/main/src/Microsoft.DotNet.CMake.Sdk#common-items
include_directories(../../artifacts/WixSdk/inc)
include_directories(../../artifacts/obj)
link_directories(../../artifacts/WixSdk/lib/${Platform})
include_directories(${ArtifactsDir}WixSdk\inc)
include_directories(${ArtifactsDir}obj)
link_directories(${ArtifactsDir}WixSdk\lib\${Platform})
add_compile_options(/MT)