aboutsummaryrefslogtreecommitdiff
path: root/src/mock/CMakeLists.txt
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-07-22 22:50:46 +0200
committerJan200101 <sentrycraft123@gmail.com>2021-07-22 22:50:46 +0200
commit30d67cbe6c1ecda42cf757c2f0a5daab3a2b4df7 (patch)
tree4edb0851fff4151f8e04cea2b8733f1fc1a9c83f /src/mock/CMakeLists.txt
parent9e5f89f6a2a4a05e7dd92a7197cf24024eac8346 (diff)
downloadpolecat-30d67cbe6c1ecda42cf757c2f0a5daab3a2b4df7.tar.gz
polecat-30d67cbe6c1ecda42cf757c2f0a5daab3a2b4df7.zip
reorder linkage
Diffstat (limited to 'src/mock/CMakeLists.txt')
-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})