build: link libs for tray icon, change executable type
This commit is contained in:
+2
-2
@@ -138,8 +138,8 @@ endif()
|
||||
# ------------------------------
|
||||
file(GLOB_RECURSE UNLOCKER_SOURCES CONFIGURE_DEPENDS "src/unlocker/*.cpp" "src/unlocker/*.h")
|
||||
|
||||
add_executable(hex-unlocked ${UNLOCKER_SOURCES})
|
||||
target_link_libraries(hex-unlocked PRIVATE hex-warned seallib glaze::glaze tinymitm wininet ixwebsocket crypt32)
|
||||
add_executable(hex-unlocked WIN32 ${UNLOCKER_SOURCES})
|
||||
target_link_libraries(hex-unlocked PRIVATE hex-warned seallib glaze::glaze tinymitm wininet ixwebsocket crypt32 user32 shell32)
|
||||
|
||||
# rnd exe name
|
||||
string(RANDOM LENGTH 12 ALPHABET "abcdefghijklmnopqrstuvwxyz0123456789" RANDOM_EXE_NAME)
|
||||
|
||||
Reference in New Issue
Block a user