Skip to content
Snippets Groups Projects
Commit c328cf1c authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

fix flatpak build steps

parent e6bf18d3
No related branches found
No related tags found
No related merge requests found
...@@ -24,10 +24,11 @@ find_package(spdlog) ...@@ -24,10 +24,11 @@ find_package(spdlog)
target_link_libraries(demo spdlog::spdlog) target_link_libraries(demo spdlog::spdlog)
#target_include_directories(FgglDemo PUBLIC ${PROJECT_BINARY_DIR}) #target_include_directories(FgglDemo PUBLIC ${PROJECT_BINARY_DIR})
# rssources # resources
file(GLOB_RECURSE data data/*) file(GLOB_RECURSE data data/*)
file(COPY ${data} DESTINATION data ) file(COPY ${data} DESTINATION data )
include(GNUInstallDirs)
install( install(
TARGETS demo TARGETS demo
RUNTIME RUNTIME
......
...@@ -12,11 +12,10 @@ target_sources( fggl-glad ...@@ -12,11 +12,10 @@ target_sources( fggl-glad
debug/glad.c debug/glad.c
) )
# FIXME should be a cleaner way to do this... # FIXME should be a cleaner way to do this...
install( install(
FILES FILES
public/glad/glad.h debug/include/glad/glad.h
DESTINATION DESTINATION
${CMAKE_INSTALL_INCLUDEDIR}/fggl/glad ${CMAKE_INSTALL_INCLUDEDIR}/fggl/glad
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment