This commit is contained in:
+3
-3
@@ -258,14 +258,14 @@ else ()
|
||||
add_executable (${PROJECT_NAME} ${project_sources} ${project_headers})
|
||||
endif ()
|
||||
|
||||
target_link_libraries (${PROJECT_NAME} ${project_libraries})
|
||||
target_link_libraries (${PROJECT_NAME} PRIVATE ${project_libraries})
|
||||
|
||||
# Tools
|
||||
set (tools tdv-tabfile tdv-add-pronunciation tdv-query-tool tdv-transform)
|
||||
foreach (tool ${tools})
|
||||
add_executable (${tool} EXCLUDE_FROM_ALL
|
||||
src/${tool}.c ${project_common_sources})
|
||||
target_link_libraries (${tool} ${project_common_libraries})
|
||||
target_link_libraries (${tool} PRIVATE ${project_common_libraries})
|
||||
endforeach ()
|
||||
|
||||
option (WITH_TOOLS "Build and install some StarDict tools" ${UNIX})
|
||||
@@ -383,7 +383,7 @@ if (BUILD_TESTING)
|
||||
foreach (name stardict)
|
||||
add_executable (test-${name}
|
||||
src/test-${name}.c ${project_common_sources})
|
||||
target_link_libraries (test-${name} ${project_common_libraries})
|
||||
target_link_libraries (test-${name} PRIVATE ${project_common_libraries})
|
||||
add_test (NAME test-${name} COMMAND test-${name})
|
||||
endforeach ()
|
||||
endif ()
|
||||
|
||||
+1
-1
Submodule liberty updated: 0f20cce9c8...fbb577f3f8
+1
-1
Submodule termo updated: f9a102456f...a8f3f6eca3
Reference in New Issue
Block a user