You can pass variable values to cmake via -D switches... Am 27. Februar 2021 14:17:26 MEZ schrieb "T. Modes" <[email protected]>: > > >Zupino schrieb am Samstag, 27. Februar 2021 um 09:35:50 UTC+1: > >> What I noticed is that I do not have CMAKE_MODULE_PATH set, so I set it >> with export CMAKE_MODULE_PATH='/home/<user/hugin-2020.0.0/CMakeModules>' and >> run again cmake, but still same error. > >CMAKE_MODULE_PATH is a variable inside the CMake build system, not an >environment variable. It is (probably) correctly set, otherwise CMake >should have complained earlier about other missing search module (e.g. >libpano) > > >> I also noticed that FindMSGFMT.cmake contains a check on the >> MSGFMT_EXECUTABLE var, which was also not set. I set to the value >> returned by `/usr/bin/msgfmt`, which is installed in my system. >> >Here the same. These are internal CMake variables which are picked up when >running. The problem the log mentions is that CMake does not found the file >- it does not even started to look after it. So you don't need to set an >environment variable with that name. > >Is CMake having any sort of cache I should clean before running it again >> with the environment variable set? >> >The cache is stored in the build directory. Simply clean up the build >directory and retry. But I fear it won't change much - because the >mentioned enviroment variables are not used by CMake. > >-- >A list of frequently asked questions is available at: >http://wiki.panotools.org/Hugin_FAQ >--- >You received this message because you are subscribed to the Google Groups >"hugin and other free panoramic software" group. >To unsubscribe from this group and stop receiving emails from it, send an >email to [email protected]. >To view this discussion on the web visit >https://groups.google.com/d/msgid/hugin-ptx/2ca1d05a-e792-4ab2-abaf-03989f660e6an%40googlegroups.com.
-- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/FBDA5463-10FA-47D3-96BC-B6842F2AB659%40gmail.com.
