AutomocInfo.cmake.in depends on environment variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The cmake modules found in cmake 2.8.12.2-0ubuntu1 contain a qt moc configuration template file that gets generated into the build directory of a qt based project.
--- snip ----
set(AM_
if(DEFINED ENV{DEB_
set(AM_
endif()
--- snip ---
This is un-handy as it requires DEB_HOST_MULTIARCH and DEB_HOST_MULTIARCH to be set everytime you build.
Usually cmake configuration files are used to hard-code all movable parts at build configuration time.
Since you cannot switch architecture in a build directory in any way there is no need to have that configureable at build time. It would be nice if there is a way to evaluate the environment variables only once configuration build time.
Changed in cmake (Ubuntu): | |
status: | New → Fix Released |
Hi, do you have a patch for this issue?