Skip to content

Commit

Permalink
only use local cmake if not CI env
Browse files Browse the repository at this point in the history
  • Loading branch information
lausdahl authored Jun 20, 2024
1 parent 28dc9e7 commit df453ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ String toPath(File file) {
public boolean generate(File source, File build, File install) throws IOException, InterruptedException, CMakeGenerateException {
String cmake = "cmake";

if (isMac() && !"true".equals(System.getenv("CI"))) {
if (isMac() && System.getenv("CI")==null) {
cmake = "/usr/local/bin/cmake";
}

Expand Down

0 comments on commit df453ed

Please sign in to comment.