Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
averrin committed May 24, 2018
1 parent c4a907a commit 5a79daa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ set(PROJECT_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
set(LIBMAPGEN_PATH "${PROJECT_PATH}/include/libmapgen/include")

file(GLOB SOURCE "src/*.cpp" "include/mapgen/*.h")
file(COPY "font.ttf" DESTINATION "bin")
file(COPY "images" DESTINATION "bin")
file(COPY "src/blur.frag" DESTINATION "bin")
file(COPY "font.ttf" DESTINATION "${PROJECT_PATH}/bin")
file(COPY "images" DESTINATION "${PROJECT_PATH}/bin")
file(COPY "src/blur.frag" DESTINATION "${PROJECT_PATH}/bin")

configure_file (
"${PROJECT_SOURCE_DIR}/MapgenConfig.h.in"
Expand Down
1 change: 1 addition & 0 deletions cmake/modules/FindSFML.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ endif()

# define the list of search paths for headers and libraries
set(FIND_SFML_PATHS
~/Downloads/SFML-2.5.0/SFML-2.5.0/include
${SFML_ROOT}
$ENV{SFML_ROOT}
E:\\SFML-2.4.2
Expand Down

0 comments on commit 5a79daa

Please sign in to comment.