[CMake] cmake - configuration roolback to default

2014-04-13 Thread shahidan
Hi Losif, Yes, this what im looking for. It works! Thank you. I have problem in running make to compile an open source project. Im using virtualbox and my RAM settings in under 500mb. My compilation alway get stuck here: [ 18%] Building CXX object

[CMake] cmake - configuration roolback to default

2014-04-12 Thread shahidan
Hi, i want to change CMAKE_C_COMPILER and CMAKE_CXX_COMPILER to gcc-4.7 and g++-4.7. But when i run cmake, the configuration rollback to default. Can somebody help me? == CMakeCCompiler.cmake == SET(CMAKE_C_COMPILER /usr/bin/gcc) SET(CMAKE_C_COMPILER_ARG1 ) SET(CMAKE_C_COMPILER_ID GNU)