From c328cf1c846de171b46da116cf74f1f447829c8e Mon Sep 17 00:00:00 2001 From: Joseph Walton-Rivers <joseph@walton-rivers.uk> Date: Sat, 15 Oct 2022 17:34:29 +0100 Subject: [PATCH] fix flatpak build steps --- demo/CMakeLists.txt | 3 ++- vendor/glad/CMakeLists.txt | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt index bf34d0c..37e86da 100644 --- a/demo/CMakeLists.txt +++ b/demo/CMakeLists.txt @@ -24,10 +24,11 @@ find_package(spdlog) target_link_libraries(demo spdlog::spdlog) #target_include_directories(FgglDemo PUBLIC ${PROJECT_BINARY_DIR}) -# rssources +# resources file(GLOB_RECURSE data data/*) file(COPY ${data} DESTINATION data ) +include(GNUInstallDirs) install( TARGETS demo RUNTIME diff --git a/vendor/glad/CMakeLists.txt b/vendor/glad/CMakeLists.txt index a78c6ab..c21884e 100644 --- a/vendor/glad/CMakeLists.txt +++ b/vendor/glad/CMakeLists.txt @@ -12,11 +12,10 @@ target_sources( fggl-glad debug/glad.c ) - # FIXME should be a cleaner way to do this... install( FILES - public/glad/glad.h + debug/include/glad/glad.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/fggl/glad ) -- GitLab