# HG changeset patch # User koda # Date 1373490659 -7200 # Node ID 4ec6eff176a54a66c48ba63236d33d7f6aa21979 # Parent 5b582d49358c5c4f53d6091b77f1a4b70cc3f832 use FORCE so you can append pascal flag with normal CMAKE_Pascal_FLAGS diff -r 5b582d49358c -r 4ec6eff176a5 cmake_modules/CMakePascalInformation.cmake --- a/cmake_modules/CMakePascalInformation.cmake Tue Jul 09 04:53:25 2013 +0200 +++ b/cmake_modules/CMakePascalInformation.cmake Wed Jul 10 23:10:59 2013 +0200 @@ -103,7 +103,7 @@ set(CMAKE_VERBOSE_MAKEFILE FALSE CACHE BOOL "If this value is on, makefiles will be generated without the .SILENT directive, and all commands will be echoed to the console during the make. This is useful for debugging only. With Visual Studio IDE projects all commands are done without /nologo.") -set(CMAKE_Pascal_FLAGS "$ENV{FPFLAGS} ${CMAKE_Pascal_FLAGS_INIT} ${CMAKE_Pascal_FLAGS}" CACHE STRING "Flags for Pascal compiler.") +set(CMAKE_Pascal_FLAGS "$ENV{FPFLAGS} ${CMAKE_Pascal_FLAGS_INIT} ${CMAKE_Pascal_FLAGS}" CACHE STRING "Flags for Pascal compiler." FORCE) include(CMakeCommonLanguageInclude)