From 1d0ff6b128b57644b66e83a66c66583a5eb8dcc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjell=20Hedstr=C3=B6m?= Date: Wed, 22 May 2024 09:17:07 -0700 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 67a020f0..ac781731 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ SET(MAJOR_VERSION 2) SET(MINOR_VERSION 4) IF ( NOT VERSION ) - IF ( "${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Wind_fail_this_check_ows" ) + IF ( "${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows" ) message("windows: Extracting git software version") execute_process(COMMAND cmd /c "git rev-list ${MAJOR_VERSION}.${MINOR_VERSION}..HEAD | find /v " " /c" OUTPUT_VARIABLE GIT_RELEASE_COMMITS WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) ELSE()