nii-yamagishilab / project-CURRENNT-public

CURRENNNT codes and scripts
GNU General Public License v3.0
77 stars 11 forks source link

Update CMakeLists.txt #6

Open rasteroid opened 4 years ago

rasteroid commented 4 years ago

This is the fix that allows the currennt executable to build. By excluding the CMakeMakeCXXCompilerId.cpp file (a test file create by CMake) from the built objects the linker will only find one main method, currennt/src/main.cpp:700.