> +if(WIN32) > + set(EXE_EXTENSION .exe) > +else() > + set(EXE_EXTENSION) > +endif() You can probably use CMAKE_EXECUTABLE_SUFFIX here. See: https://cmake.org/cmake/help/latest/variable/CMAKE_EXECUTABLE_SUFFIX.html Øsse
> +if(WIN32) > + set(EXE_EXTENSION .exe) > +else() > + set(EXE_EXTENSION) > +endif() You can probably use CMAKE_EXECUTABLE_SUFFIX here. See: https://cmake.org/cmake/help/latest/variable/CMAKE_EXECUTABLE_SUFFIX.html Øsse