CompizPlugin.cmake changes global CMake build settings

Bug #1096807 reported by Jussi Pakkanen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Triaged
High
Unassigned

Bug Description

CompizPlugin.cmake has several clauses like this:

if (NOT CMAKE_BUILD_TYPE)
             set (CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "Build type (Debug/Release/RelWithDebInfo/MinSizeRe)" FORCE)
        endif (NOT CMAKE_BUILD_TYPE)

Since CompizPlugin.cmake is a library intended to be included into other build systems, it should never change global settings. All of these need to be removed.

They cause breakage, among other places, when building Unity with pch.

MC Return (mc-return)
Changed in compiz:
milestone: none → 0.9.10.0
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
Stephen M. Webb (bregma)
Changed in compiz:
status: New → Triaged
Stephen M. Webb (bregma)
Changed in compiz:
milestone: 0.9.11.0 → 0.9.12.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.