Skip to content

Commit

Permalink
add new option - LIBGLTF_BUILD_MSVC_WITH_MT to compile with `MultiT…
Browse files Browse the repository at this point in the history
…hreading`
  • Loading branch information
alexchicn committed Oct 15, 2020
1 parent 3e3ae10 commit 5ce450b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set(LIBGLTF_PLATFORM_ANDROID FALSE)
set(LIBGLTF_PLATFORM_IOS FALSE CACHE BOOL "Build for iOS?")

if(CMAKE_SYSTEM_NAME STREQUAL "Windows" AND MSVC)
option(LIBGLTF_BUILD_MSVC_WITH_MT "Build MSVC with 'MultiThreading'." OFF)
set(LIBGLTF_BUILD_MSVC_WITH_MT OFF CACHE BOOL "Build MSVC with 'MultiThreading?")
if(${LIBGLTF_BUILD_MSVC_WITH_MT})
foreach(flags
CMAKE_CXX_FLAGS
Expand Down

0 comments on commit 5ce450b

Please sign in to comment.