Skip to content

Commit

Permalink
use unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
alexchicn committed Mar 30, 2018
1 parent 659742a commit ae37d47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ set(LIBGLTF_PLATFORM_LINUX FALSE)
set(LIBGLTF_PLATFORM_MACOS FALSE)

option(LIBGLTF_COVERAGE_GCOV "Coverage gcov (debug, Linux builds only)" OFF)
option(LIBGLTF_WITH_UNICODE "Build with UNICODE" OFF)

if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
set(LIBGLTF_PLATFORM_WINDOWS TRUE)
Expand Down Expand Up @@ -78,7 +79,7 @@ if((CMAKE_COMPILER_IS_GNUCC STREQUAL "1") OR (CMAKE_COMPILER_IS_GNUCXX STREQUAL
add_definitions(-DCOMPILER_IS_GCC)
endif()

if(${LIBGLTF_PLATFORM_WINDOWS})
if(${LIBGLTF_WITH_UNICODE} OR ${LIBGLTF_PLATFORM_WINDOWS})
add_definitions(-DUNICODE -D_UNICODE)
endif()

Expand Down

0 comments on commit ae37d47

Please sign in to comment.