Skip to content

Commit 6da8181

Browse files
committed
CMake: use mincore on WoA
1 parent a51dd64 commit 6da8181

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1591,6 +1591,12 @@ elseif(WIN32)
15911591
PRIVATE "secur32"
15921592
PRIVATE "pdh"
15931593
)
1594+
if(CMAKE_SYSTEM_PROCESSOR STREQUAL "ARM64")
1595+
# WoA only works on Windows 10 or higher
1596+
target_link_libraries(libfastfetch
1597+
PRIVATE "mincore"
1598+
)
1599+
endif()
15941600
elseif(FreeBSD)
15951601
target_link_libraries(libfastfetch
15961602
PRIVATE "m"

0 commit comments

Comments
 (0)