We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d01ffe3 commit f8143d5Copy full SHA for f8143d5
src/CMakeLists.txt
@@ -84,7 +84,9 @@ if(BUILD_STATIC)
84
target_compile_definitions( ${library_name} PUBLIC ADS_STATIC)
85
else()
86
add_library( ${library_name} SHARED ${ads_SRCS} ${ads_HEADERS})
87
- add_windows_version_resources(${library_name})
+ if(WIN32)
88
+ add_windows_version_resources(${library_name})
89
+ endif()
90
target_compile_definitions( ${library_name} PRIVATE ADS_SHARED_EXPORT)
91
endif()
92
0 commit comments