mdbx-cmake: don't specify filename extension while linking with ntdll.

This commit is contained in:
Leonid Yuriev 2021-05-11 08:07:42 +03:00
parent 2071958f35
commit 605326b6e8

View File

@ -558,7 +558,7 @@ endmacro()
macro(libmdbx_setup_libs TARGET MODE)
target_link_libraries(${TARGET} ${MODE} Threads::Threads)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
target_link_libraries(${TARGET} ${MODE} ntdll.lib)
target_link_libraries(${TARGET} ${MODE} ntdll)
if(MDBX_NTDLL_EXTRA_IMPLIB AND MDBX_WITHOUT_MSVC_CRT)
target_link_libraries(${TARGET} ${MODE} ntdll_extra)
endif()