Error on build

Thiago Macieira thiago at macieira.org
Wed Apr 8 09:06:31 PDT 2015


On Wednesday 08 April 2015 08:04:03 Dirk Hohndel wrote:
> > > That is already stored in cmake variable Qt5_LRELEASE_EXECUTABLE. We
> > > don't
> 
> Something is weird here... that evaluates to Qt5::lrelease which isn't a
> valid executable name...

>From the file:
if (NOT TARGET Qt5::lrelease)
    add_executable(Qt5::lrelease IMPORTED)

    set(imported_location "${_qt5_linguisttools_install_prefix}/bin/lrelease")
    _qt5_LinguistTools_check_file_exists(${imported_location})

    set_target_properties(Qt5::lrelease PROPERTIES
        IMPORTED_LOCATION ${imported_location}
    )
endif()
[...]
set(Qt5_LRELEASE_EXECUTABLE Qt5::lrelease)

Somehow that is supposed to expand, but I don't know cmake to explain how.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358



More information about the subsurface mailing list