--- 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}