Skip to content

Commit

Permalink
run crssync from output directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 15, 2012
1 parent 3fafe82 commit 2cf25a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/crssync/CMakeLists.txt
Expand Up @@ -12,7 +12,10 @@ TARGET_LINK_LIBRARIES(crssync
${GDAL_LIBRARY}
)

ADD_CUSTOM_TARGET(synccrsdb COMMAND crssync)
ADD_CUSTOM_TARGET(synccrsdb
COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/crssync
DEPENDS crssync
)

INSTALL(CODE "MESSAGE(\"Installing crssync ...\")")
INSTALL(TARGETS crssync RUNTIME DESTINATION ${QGIS_LIBEXEC_DIR})

0 comments on commit 2cf25a5

Please sign in to comment.