cmake_modules/utils.cmake
branchcmake_pascal
changeset 8794 9f47c1f8056d
parent 8772 c9583cf8e10d
child 9224 bce8cf41d666
--- a/cmake_modules/utils.cmake	Tue Mar 19 10:58:46 2013 +0100
+++ b/cmake_modules/utils.cmake	Tue Mar 19 13:36:10 2013 +0100
@@ -34,6 +34,6 @@
 endmacro(add_flag_append _VAR_NAME _FLAG)
 
 macro(add_flag_prepend _VAR_NAME _FLAG)
-    set(${_VAR_NAME} "_FLAG ${${_VAR_NAME}}")
+    set(${_VAR_NAME} "${_FLAG} ${${_VAR_NAME}}")
 endmacro(add_flag_prepend _VAR_NAME _FLAG)