aboutsummaryrefslogtreecommitdiff
path: root/src/GlobalLib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GlobalLib.cpp')
-rw-r--r--src/GlobalLib.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/GlobalLib.cpp b/src/GlobalLib.cpp
index 3334655..9083354 100644
--- a/src/GlobalLib.cpp
+++ b/src/GlobalLib.cpp
@@ -183,9 +183,7 @@ namespace sibs
if(sibsConfig.shouldUseCmake())
{
CmakeModule cmakeModule;
- Result<bool> cmakeCompileResult = cmakeModule.compile(sibsConfig, buildPath, staticLinkerFlagCallbackFunc, dynamicLinkerFlagCallbackFunc, globalIncludeDirCallback);
- if(!cmakeCompileResult)
- return cmakeCompileResult;
+ return cmakeModule.compile(sibsConfig, buildPath, staticLinkerFlagCallbackFunc, dynamicLinkerFlagCallbackFunc, globalIncludeDirCallback);
}
else
{