diff options
Diffstat (limited to 'science/ChipmunkPhysics/files/patch-demo_CMakeLists.txt')
-rw-r--r-- | science/ChipmunkPhysics/files/patch-demo_CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/science/ChipmunkPhysics/files/patch-demo_CMakeLists.txt b/science/ChipmunkPhysics/files/patch-demo_CMakeLists.txt new file mode 100644 index 000000000000..d665142c415f --- /dev/null +++ b/science/ChipmunkPhysics/files/patch-demo_CMakeLists.txt @@ -0,0 +1,13 @@ +--- demo/CMakeLists.txt.orig 2015-08-29 18:52:41 UTC ++++ demo/CMakeLists.txt +@@ -40,6 +40,10 @@ if(NOT MSVC) + list(APPEND chipmunk_demos_libraries m) + endif(NOT MSVC) + ++if(NOT APPLE AND FORCE_CLANG_BLOCKS) ++ list(APPEND chipmunk_demos_libraries BlocksRuntime) ++endif(NOT APPLE AND FORCE_CLANG_BLOCKS) ++ + file(GLOB chipmunk_demos_source_files "*.c") + + include_directories(${chipmunk_demos_include_dirs}) |