Browse Source

cmake: Add missing defintion

Xenofon Karamanos 4 months ago
parent
commit
165f2cd3c2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cmake/defs.cmake

+ 1 - 0
cmake/defs.cmake

@@ -108,6 +108,7 @@ option(CORE_TLS "CORE_TLS" OFF)
 if(${CORE_TLS})
   set(RELEASE "${RELEASE}-tls")
   set(TLS_HOOKS OFF)
+  target_compile_definitions(common INTERFACE CORE_TLS)
 else()
   set(TLS_HOOKS ON)
 endif()