secure-software-engineering/phasar

function(phasar_config executable) is not executed in phasarConfig.cmake

Closed this issue · 1 comments

yuffon commented

I use phasar as a library.

The definition of function(phasar_config executable) in phasarConfig.cmake is not executed because PHASAR_FOUND is not set.

Hi @yuffon, you are right, we accidentally broke the phasar_config function. https://github.com/secure-software-engineering/phasar/tree/f-FixLegacyPhasarConfig should fix this.
However, using phasar_config is not the recommended way of using phasar anymore anyway. https://github.com/secure-software-engineering/phasar/blob/f-FixLegacyPhasarConfig/examples/use-phasar-as-library/CMakeLists.txt shows some examples