From c124a6ff23e33bc9d948ee738808cac2b34348f3 Mon Sep 17 00:00:00 2001
From: Rashad Kanavath <rashad.kanavath@c-s.fr>
Date: Tue, 10 May 2016 15:36:04 +0200
Subject: [PATCH] PKG: surround cmake with quotes when equating with STREQUAL

---
 SuperBuild/Packaging/PackageHelper.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SuperBuild/Packaging/PackageHelper.cmake b/SuperBuild/Packaging/PackageHelper.cmake
index 656eb118a8..7b643955f7 100644
--- a/SuperBuild/Packaging/PackageHelper.cmake
+++ b/SuperBuild/Packaging/PackageHelper.cmake
@@ -1,7 +1,7 @@
 macro(macro_super_package)
   cmake_parse_arguments(PKG  "" "STAGE_DIR" "SEARCHDIRS" ${ARGN} )
 
-  if("${PKG_STAGE_DIR}" STREQUAL "")
+  if(${PKG_STAGE_DIR} STREQUAL "")
     message(FATAL_ERROR "PKG_STAGE_DIR is emtpy. Just can't continue.")
   endif()
 
-- 
GitLab