diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/mir_app/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/mir_core/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/CMakeLists.txt b/src/mir_app/CMakeLists.txt index e9154b2499..f3a6ca45e5 100644 --- a/src/mir_app/CMakeLists.txt +++ b/src/mir_app/CMakeLists.txt @@ -7,5 +7,5 @@ endif() set(TARGET mir_app) string(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake) -target_link_libraries(${TARGET} Zlib FreeImage UxTheme.lib ws2_32.lib) +target_link_libraries(${TARGET} Zlib FreeImage UxTheme.lib ws2_32.lib ${PREBUILT_DIR}/mir_core.lib) set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "MIR_APP_EXPORTS")
\ No newline at end of file diff --git a/src/mir_core/CMakeLists.txt b/src/mir_core/CMakeLists.txt index d855e7eada..de7f89c588 100644 --- a/src/mir_core/CMakeLists.txt +++ b/src/mir_core/CMakeLists.txt @@ -6,6 +6,6 @@ else() endif() set(TARGET mir_core) include(${CMAKE_SOURCE_DIR}/cmake/lib.cmake) -target_link_libraries(${TARGET} comctl32.lib Wtsapi32.lib) +target_link_libraries(${TARGET} comctl32.lib Wtsapi32.lib ${PREBUILT_DIR}/mir_app.lib) set_target_properties(${TARGET} PROPERTIES COMPILE_DEFINITIONS "MIR_CORE_EXPORTS") add_custom_command(TARGET ${TARGET} PRE_BUILD COMMAND "${CMAKE_SOURCE_DIR}/build/make_ver.bat")
\ No newline at end of file |
