Add -DBOOST_POOL_NO_MT as a compiler flag
This commit is contained in:
parent
51448aa06d
commit
cd86ef4236
1 changed files with 2 additions and 2 deletions
|
@ -7,13 +7,13 @@ option(DYNARMIC_USE_SYSTEM_BOOST "Use the system boost libraries" ON)
|
||||||
# Compiler flags
|
# Compiler flags
|
||||||
if (NOT MSVC)
|
if (NOT MSVC)
|
||||||
add_compile_options(--std=c++14 -Wall -Werror -Wextra -pedantic -Wfatal-errors -Wno-unused-parameter -Wno-missing-braces)
|
add_compile_options(--std=c++14 -Wall -Werror -Wextra -pedantic -Wfatal-errors -Wno-unused-parameter -Wno-missing-braces)
|
||||||
add_compile_options(-DBOOST_SYSTEM_NO_DEPRECATED)
|
add_compile_options(-DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_POOL_NO_MT)
|
||||||
if (ARCHITECTURE_x86_64)
|
if (ARCHITECTURE_x86_64)
|
||||||
add_compile_options(-msse4.1)
|
add_compile_options(-msse4.1)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
add_compile_options(/W3 /MP /Zi /Zo /EHsc /WX)
|
add_compile_options(/W3 /MP /Zi /Zo /EHsc /WX)
|
||||||
add_compile_options(/DBOOST_SYSTEM_NO_DEPRECATED)
|
add_compile_options(/DBOOST_SYSTEM_NO_DEPRECATED /DBOOST_POOL_NO_MT)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# This function should be passed a list of all files in a target. It will automatically generate
|
# This function should be passed a list of all files in a target. It will automatically generate
|
||||||
|
|
Loading…
Reference in a new issue