mirror of
https://github.com/charlesthobe/chdman.git
synced 2024-10-18 10:19:58 +00:00
f0db2ff486
Might now compile on Windows, freebsd and macOS?
14 lines
333 B
CMake
14 lines
333 B
CMake
#utf8proc
|
|
set(utf8proc_dir ${CMAKE_SOURCE_DIR}/3rdparty/utf8proc)
|
|
add_compile_definitions(
|
|
UTF8PROC_STATIC
|
|
)
|
|
|
|
if(${CMAKE_GENERATOR} STREQUAL "Unix Makefiles" OR ${CMAKE_GENERATOR} STREQUAL "Ninja")
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-strict-prototypes")
|
|
endif()
|
|
|
|
add_library(utf8proc STATIC
|
|
${utf8proc_dir}/utf8proc.c
|
|
)
|