summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-12-21 06:22:46 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2012-12-21 06:22:46 -0800
commit8941859b0ee5d55bcf850a5b17e4fbeac7aaf37a (patch)
tree19835e6dd560a191d072f0f6d32b06a2bfdbf961
parent091367850d190b5d81f327032dd2e602114c5adc (diff)
parent1c4d81cdada9bf8e4ae01c15723acbd5d6062617 (diff)
downloadmruby-8941859b0ee5d55bcf850a5b17e4fbeac7aaf37a.tar.gz
mruby-8941859b0ee5d55bcf850a5b17e4fbeac7aaf37a.zip
Merge pull request #663 from monaka/pr-fix-cmake-build-failure-by-mrbgems
[cmake] Add -DDISABLE_GEMS to compile options.
-rw-r--r--cmake/modules/IntrospectSystem.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/IntrospectSystem.cmake b/cmake/modules/IntrospectSystem.cmake
index 722f4c3d7..559b884b8 100644
--- a/cmake/modules/IntrospectSystem.cmake
+++ b/cmake/modules/IntrospectSystem.cmake
@@ -20,6 +20,8 @@ else()
endif()
endif()
+add_definitions(-DDISABLE_GEMS)
+
if(MSVC)
add_definitions(
-DRUBY_EXPORT # required by oniguruma.h