cmake_modules/FindFreepascal.cmake
changeset 8193 10144ac42d1c
parent 8188 4c166505e5c8
child 8195 37d47f09f981
--- a/cmake_modules/FindFreepascal.cmake	Sun Dec 02 22:19:13 2012 +0400
+++ b/cmake_modules/FindFreepascal.cmake	Mon Dec 03 01:43:52 2012 +0100
@@ -29,6 +29,6 @@
 if (TEST_NOEXECSTACK)
     set(NOEXECSTACK_FLAGS "")
     message(STATUS "Checking whether linker needs explicit noexecstack -- no")
-else()
+else(TEST_NOEXECSTACK)
     message(STATUS "Checking whether linker needs explicit noexecstack -- yes")
-endif()
+endif(TEST_NOEXECSTACK)