File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ target_sources(CodeFormat
1616 src/LuaFormat.cpp
1717)
1818
19- target_link_libraries (CodeFormat PUBLIC CodeService Util)
19+ target_link_libraries (CodeFormat CodeService Util)
2020
2121if (CMAKE_SYSTEM_NAME STREQUAL Linux)
2222 target_link_libraries (CodeFormat -static -libstdc++ -static -libgcc)
Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ target_sources(CodeFormatServer
6060 ${LuaCodeStyle_SOURCE_DIR} /3rd/mimalloc-2.0.9/src/static .c
6161 )
6262
63- target_link_libraries (CodeFormatServer PUBLIC CodeService)
63+ target_link_libraries (CodeFormatServer CodeService)
6464
6565
6666if (CMAKE_SYSTEM_NAME MATCHES "Windows" )
6767 target_compile_definitions (CodeFormatServer PUBLIC -D_WIN32_WINNT=0x0601)
6868elseif (CMAKE_SYSTEM_NAME MATCHES "Linux" )
69- target_link_libraries (CodeFormatServer PUBLIC pthread -static -libstdc++ -static -libgcc)
69+ target_link_libraries (CodeFormatServer pthread -static -libstdc++ -static -libgcc)
7070endif ()
7171
7272install (
You can’t perform that action at this time.
0 commit comments