cmake_modules/CMakePascalInformation.cmake
changeset 9227 c02e081ba481
parent 8863 9774ad4fe170
child 9339 14f5f3a1e2f7
--- a/cmake_modules/CMakePascalInformation.cmake	Thu Jun 13 22:55:33 2013 +0200
+++ b/cmake_modules/CMakePascalInformation.cmake	Fri Jun 14 01:01:18 2013 +0200
@@ -101,7 +101,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}" 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.")
 
 include(CMakeCommonLanguageInclude)