Skip to content

Commit

Permalink
fixing proj location, refs #8497
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Apr 20, 2021
1 parent f68cc83 commit 0794535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -508,9 +508,9 @@ if (SUMO_LIBRARIES AND WIN32)
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJ_PATH}/share/proj ${CMAKE_SOURCE_DIR}/data/proj
DEPENDS ${PROJ_PATH})
endif (PROJ_6)
# proj 7 needs to copy "data/proj" folder in SUMO_HOME/share
# proj 7 needs to copy "share/proj" folder in SUMO_HOME/share
if (PROJ_7)
set(PROJ_DATA ${CMAKE_SOURCE_DIR}/data/proj/proj.db)
set(PROJ_DATA ${CMAKE_SOURCE_DIR}/share/proj/proj.db)
add_custom_command(OUTPUT ${PROJ_DATA}
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJ_PATH}/share/proj ${CMAKE_SOURCE_DIR}/share/proj
DEPENDS ${PROJ_PATH})
Expand Down

0 comments on commit 0794535

Please sign in to comment.