Skip to content

Commit

Permalink
Copy data/ over to build/ directory
Browse files Browse the repository at this point in the history
Fixes #167
  • Loading branch information
Grumbel committed Jun 28, 2018
1 parent 6714026 commit 0864dc0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ add_executable(pingus src/main.cpp)
set_target_properties(libpingus PROPERTIES OUTPUT_NAME pingus)
target_link_libraries(pingus libpingus)

file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/data
DESTINATION ${CMAKE_CURRENT_BINARY_DIR})

if(BUILD_EXTRA)
file(GLOB PINGUS_EXTRA_SOURCES_CXX RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
extra/*.cpp)
Expand Down

0 comments on commit 0864dc0

Please sign in to comment.