external/flac-1.3.2/CMakeLists.txt: remove some garbage
authorOzkan Sezer <sezeroz@gmail.com>
Sat, 02 Nov 2019 20:11:40 +0300
changeset 961ddfe5eeef0e1
parent 960 493a943d944a
child 962 3040af6356c6
external/flac-1.3.2/CMakeLists.txt: remove some garbage
external/flac-1.3.2/CMakeLists.txt
     1.1 --- a/external/flac-1.3.2/CMakeLists.txt	Fri Nov 01 10:38:35 2019 -0700
     1.2 +++ b/external/flac-1.3.2/CMakeLists.txt	Sat Nov 02 20:11:40 2019 +0300
     1.3 @@ -31,20 +31,6 @@
     1.4      add_definitions(-DHAVE_FSEEKO)
     1.5  endif()
     1.6  
     1.7 -if(WIN32)
     1.8 -    CHECK_FUNCTION_EXISTS(_wutime64 HAFE_WUTIME64)
     1.9 -    try_compile(HAFE_WUTIME64_BUILT
    1.10 -                ${CMAKE_BINARY_DIR}/compile_tests
    1.11 -                ${CMAKE_CURRENT_SOURCE_DIR}/config.tests/wutime64/wutime64_test.c
    1.12 -    )
    1.13 -    if(HAFE_WUTIME64 AND HAFE_WUTIME64_BUILT)
    1.14 -        message("TEST: _wutime64 found and compiling!")
    1.15 -        add_definitions(-DHAFE_WUTIME64)
    1.16 -    else()
    1.17 -        message("TEST: _wutime64 DISABLED: found: [${HAFE_WUTIME64}] compiling: [${HAFE_WUTIME64_BUILT}]")
    1.18 -    endif()
    1.19 -endif()
    1.20 -
    1.21  set(FLAC_SRC)
    1.22  
    1.23  list(APPEND FLAC_SRC
    1.24 @@ -71,9 +57,7 @@
    1.25  )
    1.26  
    1.27  if(WIN32)
    1.28 -    add_definitions(-DUNICODE -D_UNICODE)
    1.29      list(APPEND FLAC_SRC
    1.30 -        src/share/win_utf8_io/win_utf8_io.c
    1.31          src/libFLAC/windows_unicode_filenames.c
    1.32      )
    1.33  endif()
    1.34 @@ -115,4 +99,3 @@
    1.35          include/FLAC/stream_decoder.h
    1.36          include/FLAC/stream_encoder.h
    1.37          DESTINATION include/FLAC/)
    1.38 -