summaryrefslogtreecommitdiff
path: root/cmake/CompizPlugin.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/CompizPlugin.cmake')
-rw-r--r--cmake/CompizPlugin.cmake12
1 files changed, 6 insertions, 6 deletions
diff --git a/cmake/CompizPlugin.cmake b/cmake/CompizPlugin.cmake
index 10a4a6f..c9bbf70 100644
--- a/cmake/CompizPlugin.cmake
+++ b/cmake/CompizPlugin.cmake
@@ -108,9 +108,9 @@ macro (_prepare_directories)
set (PLUGIN_PKGDIR ${libdir}/pkgconfig)
set (PLUGIN_XMLDIR ${datadir}/compiz)
- if (NOT "${CMAKE_BUILD_TYPE}")
+ if (NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "Build type (Debug/Release/RelWithDebInfo/MinSizeRe)" FORCE)
- endif (NOT "${CMAKE_BUILD_TYPE}")
+ endif (NOT CMAKE_BUILD_TYPE)
elseif ("${COMPIZ_PLUGIN_INSTALL_TYPE}" STREQUAL "compiz" OR
"$ENV{BUILD_GLOBAL}" STREQUAL "true")
set (PLUGIN_BUILDTYPE global)
@@ -120,9 +120,9 @@ macro (_prepare_directories)
set (PLUGIN_PKGDIR ${COMPIZ_LIBDIR}/pkgconfig)
set (PLUGIN_XMLDIR ${COMPIZ_PREFIX}/share/compiz)
- if (NOT "${CMAKE_BUILD_TYPE}")
+ if (NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (Debug/Release/RelWithDebInfo/MinSizeRe)" FORCE)
- endif (NOT "${CMAKE_BUILD_TYPE}")
+ endif (NOT CMAKE_BUILD_TYPE)
else ("${COMPIZ_PLUGIN_INSTALL_TYPE}" STREQUAL "compiz" OR
"$ENV{BUILD_GLOBAL}" STREQUAL "true")
set (PLUGIN_BUILDTYPE local)
@@ -130,9 +130,9 @@ macro (_prepare_directories)
set (PLUGIN_LIBDIR $ENV{HOME}/.compiz-1/plugins)
set (PLUGIN_XMLDIR $ENV{HOME}/.compiz-1/metadata)
- if (NOT "${CMAKE_BUILD_TYPE}")
+ if (NOT CMAKE_BUILD_TYPE)
set (CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (Debug/Release/RelWithDebInfo/MinSizeRe)" FORCE)
- endif (NOT "${CMAKE_BUILD_TYPE}")
+ endif (NOT CMAKE_BUILD_TYPE)
endif ("${COMPIZ_PLUGIN_INSTALL_TYPE}" STREQUAL "package")
endmacro (_prepare_directories)