[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 17 Oct 2014 11:10:47 +0000 (11:10 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 17 Oct 2014 11:10:47 +0000 (11:10 +0000)
* Fix IMAGEBASE handling.

svn path=/trunk/; revision=64780

reactos/cmake/CMakeMacros.cmake

index 03e53bd..080277f 100644 (file)
@@ -618,7 +618,7 @@ function(set_module_type MODULE TYPE)
 
     #set base address
     if(__module_IMAGEBASE)
-        set_image_base(${MODULE} __module_IMAGEBASE)
+        set_image_base(${MODULE} ${__module_IMAGEBASE})
     elseif(${TYPE} STREQUAL win32dll)
         if(DEFINED baseaddress_${MODULE})
             set_image_base(${MODULE} ${baseaddress_${MODULE}})