Skip to content

Commit

Permalink
CMake: Warn when Unicode file paths are not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
dscharrer committed Dec 8, 2018
1 parent 857ad36 commit 4fa41a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -1919,6 +1919,9 @@ endif()
if(NOT (ARX_HAVE_CLOCK_GETTIME OR WIN32 OR ARX_HAVE_MACH_CLOCK))
message(SEND_ERROR "Need either clock_gettime or WIN32 or mach clock_get_time.")
endif()
if(WIN32 AND NOT ARX_HAVE_CXX17_FSTREAM_WCHAR)
message(WARNING "Missing support for Unicode file paths")
endif()

# Check for consistent configuration between SDL and libepoxy/GLEW
if(ARX_HAVE_SDL AND ARX_HAVE_OPENGL AND NOT WIN32 AND NOT APPLE)
Expand Down

0 comments on commit 4fa41a5

Please sign in to comment.