mirror of
https://github.com/gamecreature/QtAwesome.git
synced 2024-11-15 13:35:44 +08:00
Revert "Replace CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS by generate_export_header"
This reverts commit 0f47fe1e80
.
This commit is contained in:
parent
0f47fe1e80
commit
8b3cf90cca
@ -1,5 +1,7 @@
|
|||||||
project(QtAwesome)
|
project(QtAwesome)
|
||||||
|
|
||||||
|
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||||
|
|
||||||
add_library(QtAwesome
|
add_library(QtAwesome
|
||||||
QtAwesome.cpp
|
QtAwesome.cpp
|
||||||
QtAwesomeAnim.cpp
|
QtAwesomeAnim.cpp
|
||||||
@ -13,10 +15,3 @@ target_include_directories(QtAwesome
|
|||||||
target_link_libraries(QtAwesome PUBLIC
|
target_link_libraries(QtAwesome PUBLIC
|
||||||
Qt${QT_VERSION_MAJOR}::Widgets
|
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)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user