From cbb11cd88d985db033c744b59291a2cf03fd16be Mon Sep 17 00:00:00 2001
From: gcontini <1121667+gcontini@users.noreply.github.com>
Date: 周二, 13 10月 2020 21:53:31 +0800
Subject: [PATCH] #ifdef _DEBUG -> #ifndef NDEBUG for better cmake compatibility

---
 src/library/LicenseReader.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/library/LicenseReader.cpp b/src/library/LicenseReader.cpp
index 47f006e..6f46d91 100644
--- a/src/library/LicenseReader.cpp
+++ b/src/library/LicenseReader.cpp
@@ -117,7 +117,7 @@
 		}
 	}
 
-#ifdef _DEBUG
+#ifndef NDEBUG
 	cout << "license to sign [" << oss.str() << "]" << endl;
 #endif
 	return oss.str();

--
Gitblit v1.9.1