cmake enables lash despite -DLashEnabe:BOOL=OFF
It also adds -ljack despite saying that JACK is "NOT enabled".
Every build option should have its own "option" statement. cmake scripts should go strictly by that.
It should look like this:
option (USE_JACK "Support Jack sound system" ON)
option (USE_LASH "LASH audio support" ON)
Each option should have 3 states: ON - forces the use, OFF - disables it, AUTO - uses it when installed.
Please close this. There was a typo in the package that caused this.
Closed based upon poster's request.