Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/emulators/hatari/files/patch-CMakeLists.txt
16125 views
1
--- CMakeLists.txt.orig 2018-03-20 22:30:14 UTC
2
+++ CMakeLists.txt
3
@@ -187,7 +187,12 @@
4
check_include_files(termios.h HAVE_TERMIOS_H)
5
check_include_files(strings.h HAVE_STRINGS_H)
6
check_include_files(malloc.h HAVE_MALLOC_H)
7
-check_include_files(${SDL_INCLUDE_DIR}/SDL_config.h HAVE_SDL_CONFIG_H)
8
+foreach(_sid ${SDL_INCLUDE_DIR})
9
+ check_include_files(${_sid}/SDL_config.h HAVE_SDL_CONFIG_H)
10
+ if(HAVE_SDL_CONFIG_H)
11
+ break()
12
+ endif()
13
+endforeach()
14
check_include_files(sys/time.h HAVE_SYS_TIME_H)
15
check_include_files(sys/times.h HAVE_SYS_TIMES_H)
16
check_include_files(utime.h HAVE_UTIME_H)
17
18