Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Revert "Fix: Compilation on vs2022"
Browse files Browse the repository at this point in the history
This reverts commit 35a6c03.
  • Loading branch information
cursey committed Dec 20, 2022
1 parent b7c2962 commit f977564
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ target_link_libraries(Loader PRIVATE
)

target_link_options(Loader PRIVATE
"/MANIFESTUAC:level=\"requireAdministrator\""
"/MANIFESTUAC:level=requireAdministrator"
)

set_target_properties(Loader PROPERTIES
Expand Down Expand Up @@ -367,7 +367,7 @@ target_link_libraries(Launcher PRIVATE
)

target_link_options(Launcher PRIVATE
"/MANIFESTUAC:level=\"requireAdministrator\""
"/MANIFESTUAC:level=requireAdministrator"
)

set_target_properties(Launcher PROPERTIES
Expand Down
4 changes: 2 additions & 2 deletions cmake.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ properties.MSVC_RUNTIME_LIBRARY = "MultiThreaded$<$<CONFIG:Debug>:Debug>"
type = "executable"
sources = ["Loader/Main.cpp"]
link-libraries = ["Core"]
link-options = ["/MANIFESTUAC:level=\"requireAdministrator\""]
link-options = ["/MANIFESTUAC:level=requireAdministrator"]
properties.MSVC_RUNTIME_LIBRARY = "MultiThreaded$<$<CONFIG:Debug>:Debug>"

[target.Launcher]
Expand All @@ -54,7 +54,7 @@ headers = ["Launcher/**.hpp"]
include-directories = ["Kanan/"] # For FontData.hpp
compile-definitions = ["IMGUI_DISABLE_INCLUDE_IMCONFIG_H"]
link-libraries = ["Core", "imgui::imgui", "nlohmann_json::nlohmann_json", "Bcrypt", "Crypt32", "Winhttp", "Rpcrt4", "D3d9", "Wbemuuid"]
link-options = ["/MANIFESTUAC:level=\"requireAdministrator\""]
link-options = ["/MANIFESTUAC:level=requireAdministrator"]
properties.MSVC_RUNTIME_LIBRARY = "MultiThreaded$<$<CONFIG:Debug>:Debug>"
properties.WIN32_EXECUTABLE = true

Expand Down

0 comments on commit f977564

Please sign in to comment.