Fix build on NetBSD. (#1557)

* Fix build on NetBSD.
This commit is contained in:
Thomas Klausner 2018-02-28 16:31:21 +01:00 committed by Janek Bevendorff
parent c167a0d190
commit 3f7f1aa47f

View File

@ -175,7 +175,7 @@ if(APPLE)
core/MacPasteboard.cpp core/MacPasteboard.cpp
) )
endif() endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") if(UNIX AND NOT APPLE)
set(keepassx_SOURCES ${keepassx_SOURCES} set(keepassx_SOURCES ${keepassx_SOURCES}
core/ScreenLockListenerDBus.h core/ScreenLockListenerDBus.h
core/ScreenLockListenerDBus.cpp core/ScreenLockListenerDBus.cpp