Commit 138dc262 authored by Lotrado's avatar Lotrado
Browse files

Don't add -pthreads compiler flag on MSVC.

parent af250a48
......@@ -94,7 +94,9 @@ if(MIRRAGE_ENABLE_COTIRE)
if(COMMAND cotire)
add_definitions(-DGLM_FORCE_RADIANS -DGLM_FORCE_DEPTH_ZERO_TO_ON -DGLM_ENABLE_EXPERIMENTAL -DGLM_FORCE_CXX14)
add_compile_options(-pthread)
if(NOT MSVC)
add_compile_options(-pthread)
endif()
set_property(GLOBAL PROPERTY COTIRE_PREFIX_HEADER_INCLUDE_PATH "${MIRRAGE_ROOT_DIR}/dependencies")
set_property(GLOBAL PROPERTY COTIRE_PREFIX_HEADER_IGNORE_PATH "${MIRRAGE_ROOT_DIR}/dependencies/nuklear;${MIRRAGE_ROOT_DIR}/src;${MIRRAGE_ROOT_DIR}/dependencies/moodycamel/concurrentqueue.h")
set_property(GLOBAL PROPERTY COTIRE_ADD_UNITY_BUILD FALSE)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment