Fixes for #80 and #79, should set `CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS` instead.

Signed-off-by: Tao He <sighingnow@gmail.com>
This commit is contained in:
Tao He 2021-08-24 00:10:11 +08:00
parent 0e4934523e
commit 1b68f9c79d
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib:${CMAKE_INSTALL_PREFIX}/lib
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
if(MSVC)
set(WINDOWS_EXPORT_ALL_SYMBOLS ON)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
set(CMAKE_GNUtoMS ON)
endif()