Conditionally add Windows version resources (#795)
This commit is contained in:
committed by
GitHub
parent
d01ffe3bee
commit
f8143d5419
@@ -84,7 +84,9 @@ if(BUILD_STATIC)
|
||||
target_compile_definitions( ${library_name} PUBLIC ADS_STATIC)
|
||||
else()
|
||||
add_library( ${library_name} SHARED ${ads_SRCS} ${ads_HEADERS})
|
||||
add_windows_version_resources(${library_name})
|
||||
if(WIN32)
|
||||
add_windows_version_resources(${library_name})
|
||||
endif()
|
||||
target_compile_definitions( ${library_name} PRIVATE ADS_SHARED_EXPORT)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user