handle cmake & ccache
commit7d74d16a5ea22a033c4ce97ca3646b558f4e203a
authorElan Ruusamäe <glen@delfi.ee>
Wed, 27 Aug 2014 23:29:19 +0000 (27 16:29 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 28 Aug 2014 00:00:26 +0000 (27 17:00 -0700)
treeafae1512801d76d0a1a01e8695f95c75a39ab0ab
parentc9b62b86b0e93cda33a2c5f73c26897bcc83312d
handle cmake & ccache

Summary: one place missed CMAKE_CXX_COMPILER_ARG1 support,

this allows to call cmake as:
cmake -D CMAKE_CXX_COMPILER="ccache" -D CMAKE_CXX_COMPILER_ARG1="g++"

http://stackoverflow.com/questions/1815688/how-to-use-ccache-with-cmake
Closes https://github.com/facebook/hhvm/pull/3601

Reviewed By: @sgolemon

Differential Revision: D1523463
CMake/HPHPCompiler.cmake