minor cleanup in CMakeLists.txt for osxnotificationcenter
This commit is contained in:
parent
e12c41781a
commit
8f77609d36
|
@ -2,11 +2,9 @@ if(APPLE)
|
|||
message(STATUS "adding osx notification center backend")
|
||||
#find_library(FOUNDATION Foundation)
|
||||
set(OSXNOTIFICATIONCENTER_SRC
|
||||
osxnotificationcenter.mm
|
||||
#NotificationCenterDelegate.m
|
||||
osxnotificationcenter.mm
|
||||
)
|
||||
add_library(libsnore_backend_osxnotificationcenter MODULE ${OSXNOTIFICATIONCENTER_SRC})
|
||||
#target_link_libraries(libsnore_backend_osxnotificationcenter snorecore ${FOUNDATION})
|
||||
target_link_libraries(libsnore_backend_osxnotificationcenter snorecore /System/Library/Frameworks/Foundation.framework)
|
||||
install(TARGETS libsnore_backend_osxnotificationcenter ${SNORE_PLUGIN_INSTALL_PATH})
|
||||
endif(APPLE)
|
||||
|
|
Loading…
Reference in New Issue