Fix test linkage on Mac.

Link the test binaries to the Security/Cocoa frameworks.
This commit is contained in:
Robert Knight 2011-08-30 12:37:26 +01:00
parent 1c3cdde4c1
commit e1b0b3266d

View file

@ -37,3 +37,8 @@ target_link_libraries(TestUpdaterOptions
updatershared
)
if (APPLE)
set_target_properties(TestUpdateScript PROPERTIES LINK_FLAGS "-framework Security -framework Cocoa")
set_target_properties(TestUpdaterOptions PROPERTIES LINK_FLAGS "-framework Security -framework Cocoa")
endif()