Correct syntax for static, since we invoke g++ as linker and we have to pass it to ld
authorAntony Riakiotakis <kalast@gmail.com>
Tue, 8 Nov 2011 16:02:34 +0000 (16:02 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Tue, 8 Nov 2011 16:02:34 +0000 (16:02 +0000)
CMakeLists.txt

index 7efa3f07c4a2d58b640b8691a6e7b355819f4636..14c9c8c867914e4eb96bd2e9268f12acdec13e4c 100644 (file)
@@ -974,7 +974,7 @@ elseif(WIN32)
                        set(OPENIMAGEIO_DEFINITIONS)
                endif()
 
-               set(PLATFORM_LINKFLAGS "--stack,2097152")
+               set(PLATFORM_LINKFLAGS "-Xlinker --stack=2097152")
 
        endif()