Skip to content

Commit

Permalink
CMakeLists.txt: MSVC arm needs advapi32.lib for test.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
maharmstone committed Mar 12, 2022
1 parent f39c893 commit d499eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ if(WITH_TEST)
target_compile_options(test PUBLIC -Wall -Wno-expansion-to-defined -Wunused-parameter -Wtype-limits -Wextra)
endif()

target_link_libraries(test ntdll version)
target_link_libraries(test ntdll version advapi32)

if(NOT MSVC OR MSVC_VERSION LESS 1929)
target_link_libraries(test fmt::fmt-header-only)
Expand Down

0 comments on commit d499eb3

Please sign in to comment.