[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r2877: Skip the pkg/ subdirectories that aren't likely to be needed (vidalia/trunk/pkg)



Author: edmanm
Date: 2008-07-13 13:48:54 -0400 (Sun, 13 Jul 2008)
New Revision: 2877

Modified:
   vidalia/trunk/pkg/CMakeLists.txt
Log:
Skip the pkg/ subdirectories that aren't likely to be needed on the current
build platform.


Modified: vidalia/trunk/pkg/CMakeLists.txt
===================================================================
--- vidalia/trunk/pkg/CMakeLists.txt	2008-07-13 17:34:43 UTC (rev 2876)
+++ vidalia/trunk/pkg/CMakeLists.txt	2008-07-13 17:48:54 UTC (rev 2877)
@@ -10,9 +10,15 @@
 ##  the terms described in the LICENSE file.
 ##
 
-add_subdirectory(osx)
-add_subdirectory(rpm)
-add_subdirectory(win32)
+if (APPLE)
+  add_subdirectory(osx)
+endif(APPLE)
+if (UNIX)
+  add_subdirectory(rpm)
+endif(UNIX)
+if (WIN32)
+  add_subdirectory(win32)
+endif(WIN32)
 
 configure_file(
   ${CMAKE_CURRENT_SOURCE_DIR}/package.sh