Skip to content

Commit 74f5e9d

Browse files
committed
CMake: set CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON for MSVC
Grumble grumble.
1 parent 9bba2a1 commit 74f5e9d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ project(uthenticode)
77
# and let the user set CMAKE_INSTALL_PREFIX explicitly for their own needs.
88
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
99
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}" CACHE PATH "Default install directory" FORCE)
10-
endif ()
10+
endif()
11+
12+
if (MSVC)
13+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
14+
endif()
1115

1216
set(CMAKE_CXX_STANDARD 17)
1317

0 commit comments

Comments
 (0)