From ada9fdf32b51543a511f1791b8905da24c672302 Mon Sep 17 00:00:00 2001 From: Michael Yanni Date: Thu, 8 Feb 2024 10:13:40 -0800 Subject: [PATCH] I realized I might have malformed the path with backslash and forwardslash combinations. Plus, it would have been \/ after replacing ArtifactsDir. --- src/finalizer/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/finalizer/CMakeLists.txt b/src/finalizer/CMakeLists.txt index e0aeed1e3..96c0cd825 100644 --- a/src/finalizer/CMakeLists.txt +++ b/src/finalizer/CMakeLists.txt @@ -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)