File tree 1 file changed +1
-7
lines changed
1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ add_cxx_preproc_definition("__STDC_LIMIT_MACROS")
41
41
include_directories ("${LIBWEBM_SRC_DIR} " )
42
42
43
43
if (MSVC )
44
+ set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON )
44
45
add_cxx_flag_if_supported("/W4" )
45
46
# Disable MSVC warnings that suggest making code non-portable.
46
47
add_cxx_flag_if_supported("/wd4996" )
@@ -350,13 +351,6 @@ add_library(webm ${libwebm_common_sources}
350
351
$<TARGET_OBJECTS:mkvmuxer>
351
352
$<TARGET_OBJECTS:mkvparser>)
352
353
353
- if (WIN32 )
354
- # Use libwebm and libwebm.lib for project and library name on Windows (instead
355
- # webm and webm.lib).
356
- set_target_properties (webm PROPERTIES PROJECT_LABEL libwebm)
357
- set_target_properties (webm PROPERTIES PREFIX lib)
358
- endif ()
359
-
360
354
if (ENABLE_SAMPLE_PROGRAMS)
361
355
add_executable (mkvparser_sample ${mkvparser_sample_sources} )
362
356
target_link_libraries (mkvparser_sample LINK_PUBLIC webm)
You can’t perform that action at this time.
0 commit comments