Summary: | net-misc/freerdp-1.1.0_beta1_p20130710-r2: CMakeLists.txt should not include "include(CMakeDetermineSystem)" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maxim Britov <maxbritov> |
Component: | Eclasses | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aballier, chewi, jlec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/FreeRDP/FreeRDP/issues/2181 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Maxim Britov
2014-11-01 08:07:51 UTC
Despite what the error says, I have seen more than one comment stating that CMake 3 now requires an absolute path. That might have something to do with why the "type -P" stuff was there. I'm not sure why this error doesn't appear on every package though. Alexis, over to you. freerdp calls: include(CMakeDetermineSystem) in its CMakeLists.txt; according to what I've read this is not for usage outside of cmake and removing this line makes freerdp work with latest cmake-utils.eclass (In reply to Alexis Ballier from comment #2) upstream https://github.com/FreeRDP/FreeRDP/issues/2181 (In reply to Alexis Ballier from comment #2) > freerdp calls: include(CMakeDetermineSystem) in its CMakeLists.txt; > according to what I've read this is not for usage outside of cmake and > removing this line makes freerdp work with latest cmake-utils.eclass Thanks. With this change I can build freerdp. diff -Naur freerdp-9999.1/CMakeLists.txt freerdp-9999.2/CMakeLists.txt --- freerdp-9999.1/CMakeLists.txt 2014-11-07 20:09:28.506125117 +0300 +++ freerdp-9999.2/CMakeLists.txt 2014-11-07 20:11:33.648124922 +0300 @@ -44,7 +44,6 @@ include(CheckIncludeFiles) include(CheckLibraryExists) include(CheckStructHasMember) -include(CMakeDetermineSystem) include(FindPkgConfig) include(TestBigEndian) same probem als in version 1.1.0_beta1_p20130710-r2 fixed in upstream, see https://github.com/FreeRDP/FreeRDP/commit/a668a644889bd58405b92c72a91c308c2bad8022 + 12 Nov 2014; Justin Lecher <jlec@gentoo.org> + freerdp-1.1.0_beta1_p20130710-r2.ebuild, + +files/freerdp-1.1.0_beta1_p20130710-cmake.patch, metadata.xml: + Fix usage of internal cmake modules, #527700 + |