Skip to content

Commit

Permalink
Rename $LinkToCRTStaticallyQ variable to $CRTLinkingMode as it is no …
Browse files Browse the repository at this point in the history
…longer a boolean property.
  • Loading branch information
rafal-c committed Jul 27, 2022
1 parent 0d449ce commit 503f0bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/UnitTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tests/UnitTests/TestConfig.wl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 503f0bd

Please sign in to comment.