Skip to content

Commit

Permalink
fix(build): link userenv lib
Browse files Browse the repository at this point in the history
  • Loading branch information
alphagocc committed Aug 17, 2022
1 parent cbc3c2e commit 989235a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,10 @@ target_precompile_headers(lemon PUBLIC ${CMAKE_SOURCE_DIR}/src/pch.h)

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

if(WIN32 AND NOT LEMON_QT6)
target_link_libraries(lemon PRIVATE userenv)
endif()

if(ENABLE_LTO)
include(CheckIPOSupported)
check_ipo_supported(RESULT LTO_SUPPORTED OUTPUT error)
Expand Down
2 changes: 1 addition & 1 deletion makespec/BUILDVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
232
233

0 comments on commit 989235a

Please sign in to comment.