Skip to content

Commit

Permalink
Export symbols on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jarlela committed May 27, 2024
1 parent ce93659 commit 8cdcd70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ target_include_directories(mscl PUBLIC "$<INSTALL_INTERFACE:include>")

target_compile_features(mscl PRIVATE cxx_std_14)

set_target_properties(mscl PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS 1 )

install(TARGETS mscl
EXPORT ${CMAKE_PROJECT_NAME}
ARCHIVE DESTINATION lib
Expand Down

0 comments on commit 8cdcd70

Please sign in to comment.