diff --git a/3rdparty/CMakeLists.txt b/3rdparty/CMakeLists.txt index 77e88c7942..94c6069271 100644 --- a/3rdparty/CMakeLists.txt +++ b/3rdparty/CMakeLists.txt @@ -358,7 +358,7 @@ add_subdirectory(opencv EXCLUDE_FROM_ALL) add_subdirectory(fusion EXCLUDE_FROM_ALL) # FERAL INTERACTIVE -# add_subdirectory(feralinteractive EXCLUDE_FROM_ALL) +add_subdirectory(feralinteractive EXCLUDE_FROM_ALL) # add nice ALIAS targets for ease of use if(USE_SYSTEM_LIBUSB) @@ -392,3 +392,4 @@ add_library(3rdparty::miniupnpc ALIAS libminiupnpc-static) add_library(3rdparty::rtmidi ALIAS rtmidi) add_library(3rdparty::opencv ALIAS ${OPENCV_TARGET}) add_library(3rdparty::fusion ALIAS Fusion) +add_library(3rdparty::feralinteractive ALIAS 3rdparty_feralinteractive) diff --git a/3rdparty/feralinteractive/CMakeLists.txt b/3rdparty/feralinteractive/CMakeLists.txt new file mode 100644 index 0000000000..c7b136e5f0 --- /dev/null +++ b/3rdparty/feralinteractive/CMakeLists.txt @@ -0,0 +1,9 @@ +# Feral Interactive + +add_library(3rdparty_feralinteractive INTERFACE) + +if (CMAKE_SYSTEM MATCHES "Linux") + target_include_directories(3rdparty_feralinteractive INTERFACE feralinteractive/lib) + target_compile_definitions(3rdparty_feralinteractive INTERFACE -DGAMEMODE_AVAILABLE) + target_link_libraries(3rdparty_feralinteractive INTERFACE feralinteractive) +endif()