Skip to content

Commit

Permalink
Revert "Replace CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS by generate_export_h…
Browse files Browse the repository at this point in the history
…eader"

This reverts commit 0f47fe1.
  • Loading branch information
MartinDelille committed Jan 30, 2023
1 parent 0f47fe1 commit 8b3cf90
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions QtAwesome/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
project(QtAwesome)

set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

add_library(QtAwesome
QtAwesome.cpp
QtAwesomeAnim.cpp
Expand All @@ -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)

0 comments on commit 8b3cf90

Please sign in to comment.