cmake_modules/CMakeTestPascalCompiler.cmake
branchcmake_pascal
changeset 8754 0c08d07e791a
parent 8752 48cf2ccb83c6
child 8758 cb3b470f1000
--- a/cmake_modules/CMakeTestPascalCompiler.cmake	Mon Mar 18 02:07:58 2013 +0100
+++ b/cmake_modules/CMakeTestPascalCompiler.cmake	Mon Mar 18 10:06:07 2013 +0100
@@ -6,10 +6,9 @@
 
 IF(NOT CMAKE_Pascal_COMPILER_WORKS)
   MESSAGE(STATUS "Check for working Pascal compiler: ${CMAKE_Pascal_COMPILER}")
-  FILE(WRITE ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testpascalcompiler.pas
+  FILE(WRITE ${CMAKE_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/CMakeTmp/testpascalcompiler.pas
   "program testPascalCompiler;
    begin
-
    end.
   ")