Skip to content

Commit 989235a

Browse files
committed
fix(build): link userenv lib
1 parent cbc3c2e commit 989235a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,10 @@ target_precompile_headers(lemon PUBLIC ${CMAKE_SOURCE_DIR}/src/pch.h)
264264

265265
target_link_libraries(lemon PRIVATE ${LEMON_QT_LIBS} lemon-core lemon-base SingleApplication::SingleApplication)
266266

267+
if(WIN32 AND NOT LEMON_QT6)
268+
target_link_libraries(lemon PRIVATE userenv)
269+
endif()
270+
267271
if(ENABLE_LTO)
268272
include(CheckIPOSupported)
269273
check_ipo_supported(RESULT LTO_SUPPORTED OUTPUT error)

makespec/BUILDVERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
232
1+
233

0 commit comments

Comments
 (0)