Merge lp:~compiz-team/compiz-core/compiz-core.dont_require_version into lp:compiz-core/0.9.5

Proposed by Sam Spilsbury
Status: Merged
Approved by: Jason Smith
Approved revision: 2798
Merged at revision: 2798
Proposed branch: lp:~compiz-team/compiz-core/compiz-core.dont_require_version
Merge into: lp:compiz-core/0.9.5
Diff against target: 20 lines (+9/-1)
1 file modified
cmake/CompizPlugin.cmake (+9/-1)
To merge this branch: bzr merge lp:~compiz-team/compiz-core/compiz-core.dont_require_version
Reviewer Review Type Date Requested Status
Jason Smith (community) Approve
Review via email: mp+73520@code.launchpad.net

Description of the change

Don't require a VERSION file

To post a comment you must log in.
Revision history for this message
Jason Smith (jassmith) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'cmake/CompizPlugin.cmake'
--- cmake/CompizPlugin.cmake 2011-07-13 17:29:00 +0000
+++ cmake/CompizPlugin.cmake 2011-08-31 12:31:05 +0000
@@ -425,7 +425,15 @@
425425
426 if (NOT COMPIZ_PLUGIN_PACK_BUILD)426 if (NOT COMPIZ_PLUGIN_PACK_BUILD)
427 set (CMAKE_PROJECT_NAME plugin-${plugin})427 set (CMAKE_PROJECT_NAME plugin-${plugin})
428 file (READ ${CMAKE_SOURCE_DIR}/VERSION COMPIZ_RELEASE_VERSION LIMIT 12 OFFSET 0)428
429 if (EXISTS ${CMAKE_SOURCE_DIR}/VERSION)
430 file (READ ${CMAKE_SOURCE_DIR}/VERSION COMPIZ_RELEASE_VERSION LIMIT 12 OFFSET 0)
431 endif (EXISTS ${CMAKE_SOURCE_DIR}/VERSION)
432
433 if (NOT COMPIZ_RELEASE_VERSION)
434 set (COMPIZ_RELEASE_VERSION "0.0.1-git")
435 endif (NOT COMPIZ_RELEASE_VERSION)
436
429 string (STRIP ${COMPIZ_RELEASE_VERSION} COMPIZ_RELEASE_VERSION)437 string (STRIP ${COMPIZ_RELEASE_VERSION} COMPIZ_RELEASE_VERSION)
430438
431 set (VERSION ${COMPIZ_RELEASE_VERSION})439 set (VERSION ${COMPIZ_RELEASE_VERSION})

Subscribers

People subscribed via source and target branches