File: MinGW.cmake

package info (click to toggle)
freedv 1.4.3~1gdc71a1c-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 19,356 kB
  • sloc: cpp: 9,333; ansic: 3,581; sh: 148; python: 42; makefile: 10
file content (10 lines) | stat: -rw-r--r-- 331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
# If we're cross-compiling then we need to set the target host manually.
if(MINGW AND CMAKE_CROSSCOMPILING)
    if(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
        set(HOST x86_64-w64-mingw32)
        set(BUILD x86_64-redhat-linux-gnu)
	else()
        set(HOST i686-w64-mingw32)
        set(BUILD i686-redhat-linux-gnu)
    endif()
endif()