Closed hroest closed 6 years ago
Ok I will take a look at it.
MACRO ( OPENMS_PATCH patchfile_varname workingdir_varname patchedfile_varname)
## First try: with --binary (because of EOL problems, OS and patch.exe specific)
set( PATCH_ARGUMENTS "-p0 --binary -b -N -i") ## NOTE: always keep -i as last argument !!
if (EXISTS ${${patchedfile_varname}}.orig)
message(STATUS "Patching ${${patchedfile_varname}} ... skipped (already applied)")
It seems that it should not patch if there is already the patched file with extension .orig
ok think I found the problem. uses CMakeList.txt instead of CMakeLists.txt
pushed a fix to contrib
When building Eigen for the second time, applying the patches fails as follows:
this is quite annoying and does not happen for any of the other contrib packages. We probably should not try to apply the patches twice