mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-20 18:40:57 +00:00
Fix check_cxx_source_compiles -> check_c_source_compiles
This commit is contained in:
parent
2e7dee0787
commit
ffe2b07d0e
2
third_party/harfbuzz-cmake/CMakeLists.txt
vendored
2
third_party/harfbuzz-cmake/CMakeLists.txt
vendored
@ -21,7 +21,7 @@ endif()
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
include(CheckCSourceCompiles)
|
||||
check_cxx_source_compiles("
|
||||
check_c_source_compiles("
|
||||
void memory_barrier (void) { __sync_synchronize (); }
|
||||
int atomic_add (int *i) { return __sync_fetch_and_add (i, 1); }
|
||||
int mutex_trylock (int *m) { return __sync_lock_test_and_set (m, 1); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user