CMakeModules/FindMSGFMT.cmake is present in the uncompressed dir.

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.

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.

Is CMake having any sort of cache I should clean before running it again 
with the environment variable set?

On Friday, February 26, 2021 at 9:13:21 PM UTC+1 T. Modes wrote:

> Zupino schrieb am Freitag, 26. Februar 2021 um 20:44:40 UTC+1:
>
>> after creating a my-build dir and running cmake ../src from there, I get 
>> an error 
>>
>> ```
>> CMake Error at translations/CMakeLists.txt:7 (find_package):
>>   By not providing "FindMSGFMT.cmake" in CMAKE_MODULE_PATH this project 
>> has
>>   asked CMake to find a package configuration file provided by "MSGFMT", 
>> but
>>   CMake did not find one.
>> ```
>>
>> The source archive contains a file CMakeModules/FindMSGFMT.cmake which 
> should be picked up by CMake.
> Could you check if the file is correctly unzipped? (All other libraries 
> have apparently found - so this means that CMAKE_MODULE_PATH is probably 
> set correctly up.) So I don't know why the error pops up
>
>

-- 
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/68424612-6abf-4976-969d-76c2bb0bfd28n%40googlegroups.com.

Reply via email to