Skip to content

Commit

Permalink
Back out previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Aug 15, 2024
1 parent 956f9a6 commit f80ca18
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion build/BuildLinuxTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public override void Run(BuildContext context)
Directory.CreateDirectory(buildWorkingDir);
// Path relative to the buildWorkingDir
var cmakeListsPath = System.IO.Path.Combine("..", "crunch", "CMakeLists.txt");
context.ReplaceTextInFiles("../crunch/crunch/CMakeLists.txt", "target_link_libraries(${CRUNCH_EXE_NAME} ${CRUNCH_LIBRARY_NAME} ${CMAKE_THREAD_LIBS_INIT})", "target_link_libraries(${CRUNCH_EXE_NAME} PRIVATE ${CRUNCH_LIBRARY_NAME} ${CMAKE_THREAD_LIBS_INIT})");
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = $"-DCMAKE_BUILD_TYPE=Release -DBUILD_CRUNCH=ON -DBUILD_SHARED_LIBCRN=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_EXAMPLES=OFF {cmakeListsPath}" });
context.StartProcess("make", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "" });
var files = Directory.GetFiles(buildWorkingDir, "crunch", SearchOption.TopDirectoryOnly);
Expand Down

0 comments on commit f80ca18

Please sign in to comment.