minor cleanup in CMakeLists.txt for osxnotificationcenter

This commit is contained in:
kevin.urban 2014-02-26 23:07:21 +01:00 committed by Patrick von Reth
parent e12c41781a
commit 8f77609d36
1 changed files with 1 additions and 3 deletions

View File

@ -2,11 +2,9 @@ if(APPLE)
message(STATUS "adding osx notification center backend") message(STATUS "adding osx notification center backend")
#find_library(FOUNDATION Foundation) #find_library(FOUNDATION Foundation)
set(OSXNOTIFICATIONCENTER_SRC set(OSXNOTIFICATIONCENTER_SRC
osxnotificationcenter.mm osxnotificationcenter.mm
#NotificationCenterDelegate.m
) )
add_library(libsnore_backend_osxnotificationcenter MODULE ${OSXNOTIFICATIONCENTER_SRC}) 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) target_link_libraries(libsnore_backend_osxnotificationcenter snorecore /System/Library/Frameworks/Foundation.framework)
install(TARGETS libsnore_backend_osxnotificationcenter ${SNORE_PLUGIN_INSTALL_PATH}) install(TARGETS libsnore_backend_osxnotificationcenter ${SNORE_PLUGIN_INSTALL_PATH})
endif(APPLE) endif(APPLE)