summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cd990188e..92c3e855c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -344,14 +344,6 @@ ELSEIF (CMAKE_SYSTEM_NAME MATCHES "^(Linux|kFreeBSD|GNU|SunOS)$")
344 set(PLATFORM_LIBRARIES rt) 344 set(PLATFORM_LIBRARIES rt)
345ENDIF (APPLE) 345ENDIF (APPLE)
346 346
347# MINGW: GCC does not support codecvt, so use iconv instead
348if (UNIX OR MINGW)
349 find_library(ICONV_LIBRARY NAMES iconv)
350 if (ICONV_LIBRARY)
351 list(APPEND PLATFORM_LIBRARIES ${ICONV_LIBRARY})
352 endif()
353endif()
354
355# Setup a custom clang-format target (if clang-format can be found) that will run 347# Setup a custom clang-format target (if clang-format can be found) that will run
356# against all the src files. This should be used before making a pull request. 348# against all the src files. This should be used before making a pull request.
357# ======================================================================= 349# =======================================================================