From 6d3b974a7779506b59d70cc7ecea1e47931c7183 Mon Sep 17 00:00:00 2001 From: David Neto Date: Mon, 5 Jun 2023 15:09:57 -0400 Subject: [PATCH] On Windows, export all symbols Fixes: #42 --- effcee/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/effcee/CMakeLists.txt b/effcee/CMakeLists.txt index 840c87f..44194ba 100644 --- a/effcee/CMakeLists.txt +++ b/effcee/CMakeLists.txt @@ -6,6 +6,7 @@ effcee_default_compile_options(effcee) target_include_directories(effcee PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/.. ${EFFCEE_RE2_DIR}) target_link_libraries(effcee PUBLIC re2 ${CMAKE_THREADS_LIB_INIT}) +set_target_properties(effcee PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON) # TODO(dneto): Avoid installing gtest and gtest_main. ?! install(