Skip to content
Snippets Groups Projects
Commit 51197c0d authored by Joakim Söderberg's avatar Joakim Söderberg Committed by Andy Green
Browse files

Set the _DEBUG macro for CMake also.

parent 20aedc89
No related branches found
No related tags found
No related merge requests found
...@@ -104,6 +104,12 @@ if (WITHOUT_CLIENT) ...@@ -104,6 +104,12 @@ if (WITHOUT_CLIENT)
set(LWS_NO_CLIENT 1) set(LWS_NO_CLIENT 1)
endif() endif()
if (WITHOUT_DEBUG)
set(_DEBUG 0)
else()
set(_DEBUG 1)
endif()
if (MINGW) if (MINGW)
set(LWS_MINGW_SUPPORT 1) set(LWS_MINGW_SUPPORT 1)
endif() endif()
......
/* config.h.in. Generated from configure.ac by autoheader. */ /* config.h.in. Generated from configure.ac by autoheader. */
#ifndef WIN32
#cmakedefine _DEBUG
#endif
/* Define to 1 to use CyaSSL as a replacement for OpenSSL. /* Define to 1 to use CyaSSL as a replacement for OpenSSL.
* LWS_OPENSSL_SUPPORT needs to be set also for this to work. */ * LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
#cmakedefine USE_CYASSL #cmakedefine USE_CYASSL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment