Skip to content

Commit

Permalink
Fix -system-library and -qt-library arguments for configure -cmake
Browse files Browse the repository at this point in the history
Change-Id: Ief19f2e8cb2996b7d09e2354328d30a67ad801fd
Reviewed-by: Alexandru Croitor <[email protected]>
  • Loading branch information
jimis committed Jun 27, 2020
1 parent ab1e096 commit e3fe852
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,16 @@ $i"
CMAKE_CMDLINE="$CMAKE_CMDLINE
-DFEATURE_${VAR}=OFF"
;;
-system-*|--system-*)
VAR=`echo $i | sed -E 's/-?-system-(.*)/\1/'`
CMAKE_CMDLINE="$CMAKE_CMDLINE
-DFEATURE_system_${VAR}=ON"
;;
-qt-*|--qt-*)
VAR=`echo $i | sed -E 's/-?-qt-(.*)/\1/'`
CMAKE_CMDLINE="$CMAKE_CMDLINE
-DFEATURE_system_${VAR}=OFF"
;;
--sanitize=*)
VAR=`echo $i | sed 's,^--sanitize=\(.*\),\1,'`
CMAKE_CMDLINE="$CMAKE_CMDLINE
Expand Down

0 comments on commit e3fe852

Please sign in to comment.