oops cmake_pascal
authorkoda
Tue, 19 Mar 2013 13:36:10 +0100
branchcmake_pascal
changeset 8794 9f47c1f8056d
parent 8790 783669d76b4f
child 8796 8ab4ef8b70f6
oops
cmake_modules/utils.cmake
--- 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)