Commit 6480f682 authored by Ralf Habacker's avatar Ralf Habacker

Fix KDE CI KF5 default setting

- fix cmake syntax reading environment variables; it should be ENV{VAR}
  not $ENV{VAR}
- fix wrongly used environment variable name to get jenkins home dir
parent 2017e8f8
...@@ -15,7 +15,7 @@ option(BUILD_CURSOR_ICONS "Create cursor icons from svg source" OFF) ...@@ -15,7 +15,7 @@ option(BUILD_CURSOR_ICONS "Create cursor icons from svg source" OFF)
option(BUILD_ICONS_INTO_SIZE_RELATED_DIRS "place icons into separate directories (for debugging purpose)" OFF) option(BUILD_ICONS_INTO_SIZE_RELATED_DIRS "place icons into separate directories (for debugging purpose)" OFF)
if(WIN32 AND NOT (DEFINED "$ENV{CRAFT_ROOT}" OR DEFINED "$ENV{JENKINS_ROOT}")) if(WIN32 AND NOT (DEFINED "ENV{CRAFT_ROOT}" OR DEFINED "ENV{JENKINS_HOME}"))
set(BUILD_KF5_DEFAULT OFF) set(BUILD_KF5_DEFAULT OFF)
else() else()
set(BUILD_KF5_DEFAULT ON) set(BUILD_KF5_DEFAULT ON)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment