ソースを参照

cmake: Add missing defintion

Xenofon Karamanos 4 ヶ月 前
コミット
165f2cd3c2
1 ファイル変更1 行追加0 行削除
  1. 1 0
      cmake/defs.cmake

+ 1 - 0
cmake/defs.cmake

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