aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindLibIntl.cmake
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-10-22 01:59:09 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-10-22 01:59:09 +0200
commit89580f2113a190494afd7e9454bad5275beda4c6 (patch)
treef943a49b7ae97e0fbd4d5d9c315099190f24e150 /cmake/FindLibIntl.cmake
parentc7b9d657977ae907aeacc40b1eca2cbfcbddb35c (diff)
downloadtdv-89580f2113a190494afd7e9454bad5275beda4c6.tar.gz
tdv-89580f2113a190494afd7e9454bad5275beda4c6.tar.xz
tdv-89580f2113a190494afd7e9454bad5275beda4c6.zip
sdgui: cross-compile for Windows
No one bothered to ask whether it /should/ be done. The hamburger needs to be replaced with a file open dialog there.
Diffstat (limited to 'cmake/FindLibIntl.cmake')
-rw-r--r--cmake/FindLibIntl.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/FindLibIntl.cmake b/cmake/FindLibIntl.cmake
new file mode 100644
index 0000000..1a15555
--- /dev/null
+++ b/cmake/FindLibIntl.cmake
@@ -0,0 +1,8 @@
+# Public Domain
+
+find_library (LibIntl_LIBRARIES intl)
+
+include (FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS (LibIntl DEFAULT_MSG LibIntl_LIBRARIES)
+
+mark_as_advanced (LibIntl_LIBRARIES)