]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Bugfix
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 2 Apr 2013 09:41:47 +0000 (09:41 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 2 Apr 2013 09:41:47 +0000 (09:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@29145 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/macros/macro_deal_ii_invoke_autopilot.cmake

index bbd78825ea82cc3b964ce1b8a61f461542a619ea..376ba81509882a2016470d46afc8ab8540f3fbf3 100644 (file)
@@ -59,7 +59,7 @@ MACRO(DEAL_II_INVOKE_AUTOPILOT)
     #
     FILE(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/run_target.cmake
       "SET(ENV{PATH} \"${DEAL_II_PATH}/${DEAL_II_LIBRARY_RELDIR}:\$ENV{PATH}\")\n"
-      "EXECUTE_PROCESS(COMMAND ${TARGET_RUN})"
+      "EXECUTE_PROCESS(COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${TARGET_RUN})"
       )
     ADD_CUSTOM_TARGET(run
       COMMAND ${CMAKE_COMMAND} -P ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/run_target.cmake

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.