diff --git a/tests/UnitTests/CMakeLists.txt b/tests/UnitTests/CMakeLists.txt index 342f08b..6e344a7 100644 --- a/tests/UnitTests/CMakeLists.txt +++ b/tests/UnitTests/CMakeLists.txt @@ -59,7 +59,7 @@ foreach(UnitTest ${TEST_MODULES}) [===[ Needs["MUnit`"]; $LLUInstallDir = "${CMAKE_INSTALL_PREFIX}"; - $LinkToCRTStaticallyQ = "${LLU_CRT_LINKING}"; + $CRTLinkingMode = "${LLU_CRT_LINKING}"; report = Catch[ TestReport["${UnitTest}TestSuite.mt", MemoryConstraint -> Quantity[500, "MB"], TimeConstraint -> 30], _String, diff --git a/tests/UnitTests/TestConfig.wl b/tests/UnitTests/TestConfig.wl index c1e1b71..ede2a91 100644 --- a/tests/UnitTests/TestConfig.wl +++ b/tests/UnitTests/TestConfig.wl @@ -3,7 +3,7 @@ $baseDir = FileNameDrop[$TestFileName, -3]; $installDir = If[StringQ[$LLUInstallDir], $LLUInstallDir, FileNameJoin[{$baseDir, "install"}]]; -$CRTLinkingFlag = Switch[$LinkToCRTStaticallyQ, +$CRTLinkingFlag = Switch[$CRTLinkingMode, "MultiThreaded", "/MT", "MultiThreadedDLL", "/MD", "MultiThreadedDebug", "/MTd",