Fix test linkage on Mac.
Link the test binaries to the Security/Cocoa frameworks.
This commit is contained in:
parent
1c3cdde4c1
commit
e1b0b3266d
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue