ports/devel/sd-mux-ctrl/files/patch-src_CMakeLists.txt
Sofian Brabez ae9ec3576c devel/sd-mux-ctrl: Rename to match upstream
Rename devel/sd-mux to devel/sd-mux-ctrl and remove dupplicate port
sysutils/sd-mux-ctrl added recently. As the port names were different
`addport -y` didn't catch the duplicate when looking at the catalog tree
INDEX. Also add entries into MOVED.

Approved by:	swills
Differential Revision: https://reviews.freebsd.org/D29732
2021-04-13 18:58:05 +00:00

12 lines
411 B
Text

--- src/CMakeLists.txt.orig 2020-02-17 16:20:18 UTC
+++ src/CMakeLists.txt
@@ -37,6 +37,9 @@ INCLUDE_DIRECTORIES(
${FTD2XX_PATH}
)
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I${SDMUX_DEP_popt_INCLUDEDIR}")
+SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L${SDMUX_DEP_popt_LIBDIR}")
+
ADD_EXECUTABLE(${TARGET_SDMUXCTRL} ${SDMUXCTRL_SOURCES})
TARGET_LINK_LIBRARIES(${TARGET_SDMUXCTRL}