From kde-commits Thu Feb 13 07:12:44 2014 From: Harald Fernengel Date: Thu, 13 Feb 2014 07:12:44 +0000 To: kde-commits Subject: [kinit] src/kdeinit: build on non-X11 Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=139227557403692 Git commit 11cbbf94ea0f7f63ce69424a43286b0d1146d408 by Harald Fernengel. Committed on 13/02/2014 at 07:12. Pushed by harald into branch 'master'. build on non-X11 M +1 -1 src/kdeinit/CMakeLists.txt http://commits.kde.org/kinit/11cbbf94ea0f7f63ce69424a43286b0d1146d408 diff --git a/src/kdeinit/CMakeLists.txt b/src/kdeinit/CMakeLists.txt index 2a3fecf..c4ca354 100644 --- a/src/kdeinit/CMakeLists.txt +++ b/src/kdeinit/CMakeLists.txt @@ -50,7 +50,7 @@ if (NOT WIN32) target_link_libraries(kdeinit5_wrapper ${KINIT_SOCKET_LIBRARY} Qt5::Cor= e) = if (NOT X11_FOUND) - target_compile_definitions(kdeinit5_wrapper -DNO_DISPLAY) + target_compile_definitions(kdeinit5_wrapper PRIVATE -DNO_DISPLAY) endif () = install(TARGETS kdeinit5_wrapper ${INSTALL_TARGETS_DEFAULT_ARGS} )