From ed07fe85ec0b85d8d0ade65caac0f04b999890b4 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 17 Oct 2023 13:27:30 -0400 Subject: set things up for UTF-8 PCRE2 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 238b113..74816ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,10 +27,10 @@ if(MSVC) set(CMAKE_C_FLAGS_DEBUG "/WX /Zi /Ob0 /Od /RTC1") set(SDL2_LIB_DIR ${CMAKE_SOURCE_DIR}/SDL2/lib/x64) target_link_libraries(ted ${SDL2_LIB_DIR}/SDL2.lib) - target_link_libraries(ted ${CMAKE_SOURCE_DIR}/pcre2-32-static.lib) + target_link_libraries(ted ${CMAKE_SOURCE_DIR}/pcre2-32-static.lib ${CMAKE_SOURCE_DIR}/pcre2-8-static.lib) else() # NOTE: -gdwarf-4 is needed for valgrind to work set(CMAKE_C_FLAGS "-Wall -Wextra -Wshadow -Wconversion -Wpedantic -pedantic -std=gnu11 -gdwarf-4 -Wno-unused-function -Wno-fixed-enum-extension -Wimplicit-fallthrough -Wno-format-truncation -Wno-unknown-warning-option") target_link_libraries(ted m SDL2) - target_link_libraries(ted ${CMAKE_SOURCE_DIR}/libpcre2-32.a) + target_link_libraries(ted ${CMAKE_SOURCE_DIR}/libpcre2-32.a ${CMAKE_SOURCE_DIR}/libpcre2-8.a) endif() -- cgit v1.2.3