From 8b3cf90ccafbbe0e49fa17dc4e4bdd43bd97d499 Mon Sep 17 00:00:00 2001 From: Martin Delille Date: Mon, 30 Jan 2023 19:08:17 +0100 Subject: [PATCH] Revert "Replace CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS by generate_export_header" This reverts commit 0f47fe1e804cbc0628bd33e67edf8b54143046fd. --- QtAwesome/CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/QtAwesome/CMakeLists.txt b/QtAwesome/CMakeLists.txt index 29e1c11..edfc4a7 100644 --- a/QtAwesome/CMakeLists.txt +++ b/QtAwesome/CMakeLists.txt @@ -1,5 +1,7 @@ project(QtAwesome) +set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) + add_library(QtAwesome QtAwesome.cpp QtAwesomeAnim.cpp @@ -13,10 +15,3 @@ target_include_directories(QtAwesome target_link_libraries(QtAwesome PUBLIC Qt${QT_VERSION_MAJOR}::Widgets ) - -include(GenerateExportHeader) -generate_export_header(QtAwesome - BASE_NAME - EXPORT_MACRO_NAME QTAWESOME_EXPORT - EXPORT_FILE_NAME QtAwesome_export.h - STATIC_DEFINE QTAWESOME_BUILT_AS_STATIC)