Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Dependencies
Cpp
mirrage
Commits
138dc262
Commit
138dc262
authored
Feb 06, 2019
by
Lotrado
Browse files
Don't add -pthreads compiler flag on MSVC.
parent
af250a48
Changes
1
Hide whitespace changes
Inline
Side-by-side
globals.cmake
View file @
138dc262
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment