From d8ecac61266918a1ac001c5f811ce50d2d2a2bbb Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Tue, 8 Nov 2011 16:02:34 +0000 Subject: Correct syntax for static, since we invoke g++ as linker and we have to pass it to ld --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7efa3f07c4a..14c9c8c8679 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -974,7 +974,7 @@ elseif(WIN32) set(OPENIMAGEIO_DEFINITIONS) endif() - set(PLATFORM_LINKFLAGS "--stack,2097152") + set(PLATFORM_LINKFLAGS "-Xlinker --stack=2097152") endif() -- cgit v1.2.3