BoomerangDecompiler/boomerang

error Object library target "boomerang-ssl2-parser" may not link to anything. when compiling under linux

He1my opened this issue · 2 comments

He1my commented

I was unable to compile under linux using ubuntu 18.04
had to change
add_library(boomerang-ssl2-parser OBJECT to add_library(boomerang-ssl2-parser STATIC
and change
add_library(boomerang-ansic-parser OBJECT TO add_library(boomerang-ansic-parser STATIC

basically undoing 0002f83 for it to compile successfully

Just came across the same error, and confirmed the fix works

ceeac commented

Thanks for your report! The build fails because CMake < 3.12 does not support linking object libraries. #207 should fix this.