use FORCE so you can append pascal flag with normal CMAKE_Pascal_FLAGS
authorkoda
Wed, 10 Jul 2013 23:10:59 +0200
changeset 9348 4ec6eff176a5
parent 9347 5b582d49358c
child 9349 8ec5cf11e85a
use FORCE so you can append pascal flag with normal CMAKE_Pascal_FLAGS
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)