Revision be36bfd65d53962c7ba975382bd911e0857f6a33 authored by Domen Vrankar on 10 February 2015, 22:03:06 UTC, committed by Brad King on 11 February 2015, 14:56:27 UTC
The file(GLOB_RECURSE) call added by commit 3ec02547 (CPackRPM: Allow
multiple path relocation prefixes for one package, 2015-01-21) should
not follow directory symlinks, so make sure CMP0009 is set to NEW.
1 parent 3d99355
Raw File
run.cmake.in
set(t4_name "\"@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t4\"")
exec_program("${t4_name}" RETURN_VALUE "t4_var")
message("T4 ${t4_name} resulted ${t4_var}")

set(t9_name "\"@CMAKE_CURRENT_BINARY_DIR@${CFG_DIR}/t9\"")
exec_program("${t9_name}" RETURN_VALUE "t9_var")
message("T9 ${t9_name} resulted ${t9_var}")

if ( "${t4_var}" EQUAL "0" AND "${t9_var}" EQUAL "0" )
  message("Everything is good, Yoshimi won...")
else ()
  message(FATAL_ERROR "Yoshimi lost... The evil pink robots will take over the world")
endif ()
back to top