mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
Replace cxx_thread_local check
This commit is contained in:
parent
14a3cf8fc2
commit
ce8753c6e1
1 changed files with 1 additions and 4 deletions
|
@ -278,10 +278,7 @@ endif()
|
|||
|
||||
# Check for thread_local keyword, it's optional at the moment
|
||||
|
||||
CHECK_CXX_SOURCE_COMPILES("thread_local int i; int main() { i = 0; }"
|
||||
HAVE_THREAD_LOCAL)
|
||||
|
||||
if( NOT HAVE_THREAD_LOCAL )
|
||||
if ( NOT (cxx_thread_local IN_LIST CMAKE_CXX_COMPILE_FEATURES) )
|
||||
message( SEND_ERROR "C++ compiler doesn't support thread_local storage duration specifier" )
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue