Mercurial > irccd
comparison cmake/IrccdDefinePlugin.cmake @ 1125:75e228008e07
cmake: add export
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 04 Dec 2021 20:14:49 +0100 |
parents | 6c15d37b7518 |
children | cd8ad6ed02ca |
comparison
equal
deleted
inserted
replaced
1124:3d9975880161 | 1125:75e228008e07 |
---|---|
40 endif () | 40 endif () |
41 if (PLG_LIBRARIES) | 41 if (PLG_LIBRARIES) |
42 target_link_libraries(irccd-plugin-${PLG_NAME} ${PLG_LIBRARIES}) | 42 target_link_libraries(irccd-plugin-${PLG_NAME} ${PLG_LIBRARIES}) |
43 endif () | 43 endif () |
44 | 44 |
45 if (APPLE) | |
46 target_link_libraries(irccd-plugin-${PLG_NAME} "-undefined dynamic_lookup") | |
47 endif () | |
48 | |
45 set_target_properties( | 49 set_target_properties( |
46 irccd-plugin-${PLG_NAME} | 50 irccd-plugin-${PLG_NAME} |
47 PROPERTIES | 51 PROPERTIES |
48 OUTPUT_NAME ${PLG_NAME} | 52 OUTPUT_NAME ${PLG_NAME} |
49 PREFIX "" | 53 PREFIX "" |