diff options
| author | protomors <protomors@gmail.com> | 2018-06-02 11:01:17 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2019-07-12 18:09:25 +0300 |
| commit | f118873f790b634e855b7b7637a1e837bd578fac (patch) | |
| tree | 2c0703751d553760d210ccf68f6a51ad3c468d4e /cmake | |
| parent | d865b2130712f8c9300ccebcf1f5542e41edaaac (diff) | |
CMake: reduced dependency from prebult libraries.
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/core.cmake | 3 | ||||
| -rw-r--r-- | cmake/plugin.cmake | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cmake/core.cmake b/cmake/core.cmake index 2c8b080dd2..10cf9b5cc3 100644 --- a/cmake/core.cmake +++ b/cmake/core.cmake @@ -12,4 +12,5 @@ endif() set_target_properties(${TARGET} PROPERTIES LINK_FLAGS "/SUBSYSTEM:WINDOWS" RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Core" -)
\ No newline at end of file +) +target_link_libraries(${TARGET} mir_core cmstub)
\ No newline at end of file diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake index a15b2f5f81..d8b93829d9 100644 --- a/cmake/plugin.cmake +++ b/cmake/plugin.cmake @@ -10,4 +10,5 @@ endif() set_target_properties(${TARGET} PROPERTIES LINK_FLAGS "/SUBSYSTEM:WINDOWS" RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Plugins" -)
\ No newline at end of file +) +target_link_libraries(${TARGET} mir_core cmstub)
\ No newline at end of file |
