mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/win32-vd_agent
synced 2026-01-07 07:21:49 +00:00
Do not force library prefix for MSVC
Do not use Unix suffix under MSVC (for MingW is fine, not for Microsoft standards where .lib is used). Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
This commit is contained in:
parent
c84f9942d7
commit
e9d487c75b
@ -5,7 +5,9 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.15")
|
||||
endif()
|
||||
project(vdagent-win)
|
||||
|
||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
|
||||
if(NOT MSVC)
|
||||
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
|
||||
endif()
|
||||
|
||||
# configure
|
||||
file(WRITE "${CMAKE_BINARY_DIR}/config.h.in" "/* Automatic generated by CMake */\n\n")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user