Commit f1738124 authored by Grumbel's avatar Grumbel

Copy data files over to the build directory

Fixes #15
parent 0df6b1f9
......@@ -50,6 +50,12 @@ pkg_search_module(GTKMM REQUIRED gtkmm-3.0)
pkg_search_module(SIGCPP REQUIRED sigc++-2.0)
pkg_search_module(X11 REQUIRED x11)
# Copy data files over to build/
file(GLOB JSTEST_GTK_DATA data/*.png)
file(
COPY ${JSTEST_GTK_DATA}
DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/data/)
add_library(binreloc STATIC ${CMAKE_CURRENT_SOURCE_DIR}/external/binreloc-2.0/binreloc.c)
set_property(TARGET binreloc PROPERTY COMPILE_DEFINITIONS ENABLE_BINRELOC)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment