Fix build on NetBSD. (#1557)

* Fix build on NetBSD.
This commit is contained in:
Thomas Klausner authored and Janek Bevendorff committed 2018-02-28 16:31:21 +01:00
1 parent c167a0d190
commit 3f7f1aa47f
1 file changed
+1 -1
+1 -1
View File
@@ -175,7 +175,7 @@ if(APPLE)
core/MacPasteboard.cpp
)
endif()
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" OR ${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
if(UNIX AND NOT APPLE)
set(keepassx_SOURCES ${keepassx_SOURCES}
core/ScreenLockListenerDBus.h
core/ScreenLockListenerDBus.cpp