[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-games-devel
Subject:    Re: [Kde-games-devel] git conversion kmahjongg
From:       Stefan Majewsky <stefan.majewsky () googlemail ! com>
Date:       2012-03-14 21:20:54
Message-ID: CACoMYZbtN1zEVFXgUnQsDSip86GhpjoQSk1fTfLLMm2J-amHLg () mail ! gmail ! com
[Download RAW message or body]

On Wed, Mar 14, 2012 at 1:51 AM, Frederik Schwarzer <schwarzer@kde.org> wrote:
> Defining a variable in the
> kdegames/CMakeLists.txt and looking for it in the games's cmake files
> sounds right.

How about:

if (${CMAKE_CURRENT_SOURCE_DIR} EQUALS ${PROJECT_SOURCE_DIR})

Not sure about the exact syntax of EQUALS, but that's the idea.
${PROJECT_SOURCE_DIR} is the dir which you gave to CMake.

Greetings
Stefan
_______________________________________________
kde-games-devel mailing list
kde-games-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic