aboutsummaryrefslogtreecommitdiff
path: root/src/mock
diff options
context:
space:
mode:
Diffstat (limited to 'src/mock')
-rw-r--r--src/mock/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mock/CMakeLists.txt b/src/mock/CMakeLists.txt
index 7f4f471..320e8a9 100644
--- a/src/mock/CMakeLists.txt
+++ b/src/mock/CMakeLists.txt
@@ -37,9 +37,9 @@ target_include_directories(mock PRIVATE ${WINE_TAR_DIR} ${CMAKE_CURRENT_BINARY_D
set(NAME ${CMAKE_PROJECT_NAME}_mock)
add_executable(${NAME} ${MAINSOURCES})
+target_link_libraries(${NAME} LINK_PUBLIC ${CMAKE_PROJECT_NAME}core)
target_link_libraries(${NAME} LINK_PUBLIC ${JSONC_LIBRARIES})
target_link_libraries(${NAME} LINK_PUBLIC ${LIBARCHIVE_LIBRARIES})
-target_link_libraries(${NAME} LINK_PUBLIC ${CMAKE_PROJECT_NAME}core)
target_link_libraries(${NAME} LINK_PUBLIC mock)
target_compile_options(${NAME} PUBLIC ${CFLAGS})