From 0b3bdff8fb8b7db80d1da8206e6f16d21fe30aa7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 8 Mar 2022 16:15:12 +0100 Subject: Fix skip-compile option inverted --- src/CmakeModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/CmakeModule.cpp b/src/CmakeModule.cpp index 65e0c92..e3b3918 100644 --- a/src/CmakeModule.cpp +++ b/src/CmakeModule.cpp @@ -303,7 +303,7 @@ namespace sibs return Result::Err(execResult); //nprintf("Compiling cmake generated ninja file: %s\n", buildPath.c_str()); - if(config.skipCompile) { + if(!config.skipCompile) { execResult = exec({ TINYDIR_STRING("ninja"), TINYDIR_STRING("-C"), buildPath }, true); if(execResult.isOk()) { -- cgit v1.2.3