CMakeLists.txt
changeset 10329 ad0bee16b6b9
parent 10321 6564d3e3c5f6
child 10348 58e8745fb4e1
     1.1 --- a/CMakeLists.txt	Tue Sep 13 00:03:49 2016 -0700
     1.2 +++ b/CMakeLists.txt	Tue Sep 13 00:03:50 2016 -0700
     1.3 @@ -205,7 +205,7 @@
     1.4  if(CYGWIN)
     1.5    # We build SDL on cygwin without the UNIX emulation layer
     1.6    include_directories("-I/usr/include/mingw")
     1.7 -  set(CMAKE_REQUIRED_FLAGS "-mno-cygwin")
     1.8 +  set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -mno-cygwin")
     1.9    check_c_source_compiles("int main(int argc, char **argv) {}"
    1.10      HAVE_GCC_NO_CYGWIN)
    1.11    set(CMAKE_REQUIRED_FLAGS ${ORIG_CMAKE_REQUIRED_FLAGS})