Updated CMakeLists

This commit is contained in:
Valentino Orlandi 2023-10-22 16:56:34 +02:00
parent 09f5841d53
commit 52489d004d
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ qt_add_executable(LogDoctor
qt_create_translation(QM_FILES ${CMAKE_SOURCE_DIR} ${TS_FILES})
if(WIN32)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-Bstatic -lgcc -lstdc++ -lwinpthread")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-Bstatic -lstdc++ -lwinpthread")
target_link_libraries(LogDoctor PRIVATE
-static Qt${QT_VERSION_MAJOR}::Core
-static Qt${QT_VERSION_MAJOR}::Widgets