summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorprotomors <protomors@gmail.com>2017-11-08 02:31:53 +0600
committerprotomors <protomors@gmail.com>2017-11-29 16:48:26 +0300
commite62e68d8dad3e554fdd9a41cea6ecdf35cde3102 (patch)
tree4a8b01b171c2a4e279c3162b5f3797c1af619aa2 /cmake
parent6421856622260f6b92637b57f04306c8ae94208a (diff)
CMake: clean up library dependencies.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/core.cmake3
-rw-r--r--cmake/icons.cmake3
-rw-r--r--cmake/lib.cmake3
-rw-r--r--cmake/plugin.cmake3
4 files changed, 4 insertions, 8 deletions
diff --git a/cmake/core.cmake b/cmake/core.cmake
index 5fc7c37302..afb345d4a8 100644
--- a/cmake/core.cmake
+++ b/cmake/core.cmake
@@ -12,5 +12,4 @@ endif()
set_target_properties(${TARGET} PROPERTIES
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Core"
-)
-target_link_libraries(${TARGET} ${COMMON_LIBS}) \ No newline at end of file
+) \ No newline at end of file
diff --git a/cmake/icons.cmake b/cmake/icons.cmake
index c03630ef49..0096748919 100644
--- a/cmake/icons.cmake
+++ b/cmake/icons.cmake
@@ -3,5 +3,4 @@ add_library(${TARGET} SHARED ${SOURCES})
set_target_properties(${TARGET} PROPERTIES
LINK_FLAGS "/SUBSYSTEM:WINDOWS /NOENTRY"
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Icons"
-)
-target_link_libraries(${TARGET} ${COMMON_LIBS}) \ No newline at end of file
+) \ No newline at end of file
diff --git a/cmake/lib.cmake b/cmake/lib.cmake
index 64ceb02bd5..33e940a663 100644
--- a/cmake/lib.cmake
+++ b/cmake/lib.cmake
@@ -11,5 +11,4 @@ set_target_properties(${TARGET} PROPERTIES
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
SUFFIX ".mir"
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Libs"
-)
-target_link_libraries(${TARGET} ${COMMON_LIBS}) \ No newline at end of file
+) \ No newline at end of file
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index d3986c87c3..ed830572d6 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -10,5 +10,4 @@ endif()
set_target_properties(${TARGET} PROPERTIES
LINK_FLAGS "/SUBSYSTEM:WINDOWS"
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/$<CONFIG>/Plugins"
-)
-target_link_libraries(${TARGET} ${COMMON_LIBS}) \ No newline at end of file
+) \ No newline at end of file