mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 16:21:50 -04:00
devel/cmake-gui: Convert to out-of-source build Announcement: https://www.kitware.com/cmake-3-31-0-available-for-download/ Release notes: https://cmake.org/cmake/help/latest/release/3.31.html PR: 282725 Exp-run by: antoine
14 lines
543 B
CMake
14 lines
543 B
CMake
--- Modules/FindSDL.cmake.orig 2024-11-06 13:41:37 UTC
|
|
+++ Modules/FindSDL.cmake
|
|
@@ -127,6 +127,11 @@ endif()
|
|
set(VC_LIB_PATH_SUFFIX lib/x86)
|
|
endif()
|
|
|
|
+# On FreeBSD SDL depends on libiconv and SDL_stdinc.h includes iconv.h, which is
|
|
+# located in ${LOCALBASE}/include. Append {LOCALBASE}/include to
|
|
+# the SDL_INCLUDE_DIR, thus allow to build SDL apps out of box.
|
|
+list(APPEND SDL_INCLUDE_DIR /usr/local/include)
|
|
+
|
|
# SDL-1.1 is the name used by FreeBSD ports...
|
|
# don't confuse it for the version number.
|
|
find_library(SDL_LIBRARY_TEMP
|