CAF plugin setup script not executed
I'm using the CAFlwtnn as a plugin of CAF. The generated setupAnalysis.sh
script does not load the setup script of CAFlwtnn.
The issue is caused by the CMakeLists.txt:
file(APPEND ${CAFSETUP} "if [ \"$(find ${CAFPLUGINSETUP} -mindepth 1 -name '*.sh' -print -quit 2>/dev/null)\" ]; then\n")
The find
results are limited by -mindepth 1
, the setup script of CAFlwtnn, however, ends up directly in the ${CAFPLUGINSETUP}
directory.
$ ls build/CAFCorePluginSetup/
CAFlwtnnSetup.sh