Set the _DEBUG macro for CMake also.
This commit is contained in:
parent
20aedc89c1
commit
51197c0d6f
2 changed files with 10 additions and 0 deletions
|
@ -104,6 +104,12 @@ if (WITHOUT_CLIENT)
|
|||
set(LWS_NO_CLIENT 1)
|
||||
endif()
|
||||
|
||||
if (WITHOUT_DEBUG)
|
||||
set(_DEBUG 0)
|
||||
else()
|
||||
set(_DEBUG 1)
|
||||
endif()
|
||||
|
||||
if (MINGW)
|
||||
set(LWS_MINGW_SUPPORT 1)
|
||||
endif()
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
/* 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.
|
||||
* LWS_OPENSSL_SUPPORT needs to be set also for this to work. */
|
||||
#cmakedefine USE_CYASSL
|
||||
|
|
Loading…
Add table
Reference in a new issue