I am sorry that this should be an recurring question. <br>But I wasn't able to find any working solution after hours of search.<br><br>What I tried is as follows:<br><br>/root/CMakeLists.txt<br><br>set(CMAKE_CXX_COMPILER mpic++)<br>
set(CMAKE_C_COMPILER mpicc)<br><br><br>project (taesoo_cmu)<br><br>add_subdirectory(BaseLib)<br>add_subdirectory(MainLib)<br>add_subdirectory(MainLib/luabind-0.7)<br>add_subdirectory(OgreFltk)<br><br><br>-----------------------<br>
<br>in the OgreFltk directory, project (OgreFltk) and add_executable (OgreFltk ...) is defined. <br><br>cmake .<br>make VERBOSE=true <br><br>revealed that I am still using c++ instead of mpic++.<br>What should I change?<br>
Thanks.<br>