cmake_modules/FindFreepascal.cmake
changeset 8188 4c166505e5c8
parent 8166 5bc0fc0bab4d
child 8195 37d47f09f981
--- a/cmake_modules/FindFreepascal.cmake	Sun Dec 02 17:23:13 2012 +0100
+++ b/cmake_modules/FindFreepascal.cmake	Sun Dec 02 23:41:01 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)