Fix issues in external project include directories
MODIFY
CMakeLists.txt
CMakeLists.txt
@@ -32,6 +32,11 @@ qt5_add_resources(EXAMPLES_SRC ${CMAKE_SOURCE_DIR}/examples/examples.qrc)
## Library setup
######################################################################
+# hack hack hack - the cereal headers within VSRTL expects the cereal include directory to be in the path.
+# This requirement propagates onto inclusions from here, so we have to make this available aswell.
+include_directories(${RIPES_LIB} PUBLIC external/VSRTL/external/cereal/include)
+include_directories(external)
+
# Platform specific pre-target setup(s)
if(${APPLE})
set(SYSTEM_FLAGS MACOSX_BUNDLE)

MODIFY
external/CMakeLists.txt
external/CMakeLists.txt
@@ -3,4 +3,11 @@ cmake_minimum_required(VERSION 3.9)
######################################################################
## External project subdirectories
######################################################################
+
+# Fancy tab bar
add_subdirectory(fancytabbar)
+
+# VSRTL
+set(VSRTL_BUILD_APP OFF)
+set(VSRTL_BUILD_TESTS OFF)
+add_subdirectory(VSRTL)

MODIFY
src/CMakeLists.txt
src/CMakeLists.txt
@@ -9,12 +9,10 @@ file(GLOB LIB_UIS *.ui)
set(RIPES_LIB ripes_lib)
add_library(${RIPES_LIB} ${LIB_SOURCES} ${LIB_HEADERS} ${LIB_UIS})
target_include_directories (${RIPES_LIB} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
-# External project includes
-target_include_directories (${RIPES_LIB} PUBLIC ../external)
-
target_compile_features(${RIPES_LIB} PRIVATE cxx_std_17)
# Link external libraries
target_link_libraries(${RIPES_LIB} fancytabbar_lib)
+target_link_libraries(${RIPES_LIB} ${VSRTL_GRAPHICS_LIB})
add_subdirectory(processors)

Fix issues in external project include directories