diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2013-08-19 20:05:14 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2013-08-19 23:05:07 -0700 |
commit | 97f7df5dee4c09f23744c122d2acd691b4927214 (patch) | |
tree | bf980696047319e08e1d10c6ecfc481a514acfd1 | |
parent | 5b9998c523b7096a938c5917832c9ad6033ab0ea (diff) |
cmake: Prefix 'check_thread_local_storage()' with 'waffle'
Let's be good code citizens and properly namespace our functions.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | cmake/Modules/CheckThreadLocalStorage.cmake | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2714b83..75a261c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,7 +107,7 @@ endif() # Set the following: # waffle_has_tls # waffle_tls_model_initial_exec -check_thread_local_storage() +waffle_check_thread_local_storage() if(waffle_has_wayland OR waffle_has_x11_egl OR waffle_has_gbm) set(waffle_has_egl TRUE) diff --git a/cmake/Modules/CheckThreadLocalStorage.cmake b/cmake/Modules/CheckThreadLocalStorage.cmake index ad8cd85..9febb3d 100644 --- a/cmake/Modules/CheckThreadLocalStorage.cmake +++ b/cmake/Modules/CheckThreadLocalStorage.cmake @@ -29,7 +29,7 @@ # # Usage: # include(CheckThreadLocalStorage) -# check_thread_local_storage() +# waffle_check_thread_local_storage() # # Output Variables: # waffle_has_tls @@ -42,7 +42,7 @@ include(CheckCSourceCompiles) -macro(check_thread_local_storage) +macro(waffle_check_thread_local_storage) # Clang, in its zeal for compatibility with gcc, emits only a warning if # it encounters an __attribute__ that it does not recognize. To prevent # this function from returning a false positive in that situation, force |