CMake: Find and require intl

It's not guaranteed for Apple systems to have this library installed, apparently, so check for it.
This commit is contained in:
lat9nq
2024-01-09 17:22:53 -05:00
parent f6680093bc
commit 1e82342033
2 changed files with 5 additions and 1 deletions

View File

@@ -4,5 +4,9 @@ project(tzdb2nx VERSION 1.0)
set(CMAKE_CXX_STANDARD 20)
if (APPLE)
find_package(Intl REQUIRED)
endif()
add_subdirectory(externals)
add_subdirectory(src)