Skip to content

Commit cb6c16a

Browse files
committed
Fix SRombauts#191 CMake Warning line 299
1 parent 469148a commit cb6c16a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ if (SQLITECPP_BUILD_TESTS)
296296

297297
# Add definitions to keep googletest from making the compilation fail
298298
if (MSVC)
299-
if (MSVC AND MSVC_VERSION GREATER_EQUAL 1910 AND MSVC_VERSION LESS_EQUAL 1919) # OR MSVC_TOOLSET_VERSION EQUAL 141)
299+
if (MSVC_VERSION GREATER_EQUAL 1910 AND MSVC_VERSION LESS_EQUAL 1919) # OR MSVC_TOOLSET_VERSION EQUAL 141)
300300
target_compile_definitions(gtest PUBLIC _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING)
301301
target_compile_definitions(gtest_main PUBLIC _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING)
302302
target_compile_definitions(gmock PUBLIC _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING)

build.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ if ERRORLEVEL 1 goto onError
1717
ctest --output-on-failure
1818
if ERRORLEVEL 1 goto onError
1919

20-
cd ..
21-
exit
20+
goto onSuccess
2221

2322
:onError
2423
@echo An error occured!
25-
cd ..
24+
:onSuccess
25+
cd ..

0 commit comments

Comments
 (0)