File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.19 )
1
+ cmake_minimum_required (VERSION 3.18.4 )
2
2
set (qcoro_VERSION 0.6.0 )
3
3
set (qcoro_SOVERSION 0 )
4
4
project (qcoro LANGUAGES CXX VERSION ${qcoro_VERSION} )
Original file line number Diff line number Diff line change @@ -105,12 +105,19 @@ function(add_qcoro_library)
105
105
set_target_properties (
106
106
${target_name}
107
107
PROPERTIES
108
- WINDOWS_EXPORT_ALL_SYMBOLS 1
109
- VERSION ${qcoro_VERSION}
110
- SOVERSION ${qcoro_SOVERSION}
111
108
EXPORT_NAME ${LIB_NAME}
112
109
)
113
110
111
+ if (NOT LIB_INTERFACE )
112
+ set_target_properties (
113
+ ${target_name}
114
+ PROPERTIES
115
+ WINDOWS_EXPORT_ALL_SYMBOLS 1
116
+ VERSION ${qcoro_VERSION}
117
+ SOVERSION ${qcoro_SOVERSION}
118
+ )
119
+ endif ()
120
+
114
121
generate_headers (
115
122
camelcase_HEADERS
116
123
HEADER_NAMES ${LIB_CAMELCASE_HEADERS}
You can’t perform that action at this time.
0 commit comments