user227541
user227541

Reputation: 11

Installing Gtest using CMake

I am trying to install GTest using CMake on MacOS. I am getting the following error:

cmake -G "Makefiles" ..

Error: CMake Error: Could not create named generator Makefiles

Upvotes: 1

Views: 223

Answers (1)

user2288008
user2288008

Reputation:

try cmake -G 'Unix Makefiles' ..

see http://www.cmake.org/cmake/help/v2.8.10/cmake.html#section_Generators

Upvotes: 1

Related Questions