1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 15:26:38 +02:00

Also build regex_tre on Windows.

This commit is contained in:
Sadie Powell
2026-02-08 12:37:27 +00:00
parent 766a18b0f1
commit bf5ab14a21
4 changed files with 11 additions and 4 deletions
+8 -3
View File
@@ -13,9 +13,14 @@
// SPDX-License-Identifier: GPL-2.0-only
/// BEGIN CMAKE
/// pkg_check_modules("TRE" IMPORTED_TARGET REQUIRED "tre")
/// target_link_libraries(${SO} PRIVATE PkgConfig::TRE)
/// target_compile_options(${SO} PRIVATE "-Wno-error=date-time") # Workaround for TRE bug 117
/// if(WIN32)
/// find_package("tre" REQUIRED)
/// target_link_libraries(${SO} PRIVATE "tre::tre")
/// else()
/// pkg_check_modules("TRE" IMPORTED_TARGET REQUIRED "tre")
/// target_link_libraries(${SO} PRIVATE PkgConfig::TRE)
/// target_compile_options(${SO} PRIVATE "-Wno-error=date-time") # Workaround for TRE bug 117
/// endif()
/// END CMAKE
#include "module.h"