[rkward-cvs] SF.net SVN: rkward:[4378] trunk/rkward/rkward/CMakeLists.txt
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Wed Oct 17 10:53:27 UTC 2012
Revision: 4378
http://rkward.svn.sourceforge.net/rkward/?rev=4378&view=rev
Author: tfry
Date: 2012-10-17 10:53:26 +0000 (Wed, 17 Oct 2012)
Log Message:
-----------
Add check for cmake pointed to 'rkward'-subdirectory.
Modified Paths:
--------------
trunk/rkward/rkward/CMakeLists.txt
Modified: trunk/rkward/rkward/CMakeLists.txt
===================================================================
--- trunk/rkward/rkward/CMakeLists.txt 2012-10-16 13:26:44 UTC (rev 4377)
+++ trunk/rkward/rkward/CMakeLists.txt 2012-10-17 10:53:26 UTC (rev 4378)
@@ -1,3 +1,7 @@
+IF(NOT ${PROJECT_NAME} STREQUAL "rkward")
+ MESSAGE (FATAL_ERROR "${PROJECT_NAME}Build triggered from wrong subdirectory. Please point cmake to the parent of this directory, instead.")
+ENDIF(NOT ${PROJECT_NAME} STREQUAL "rkward")
+
INCLUDE(SetVersionNumber.cmake)
IF(Q_WS_MAC)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list