[ITK] [ITK-users] Link ITK libraries statically

John Drescher drescherjm at gmail.com
Wed May 20 16:45:24 EDT 2015


> Maybe it does, but not the way I'm doing it.  I am building with Qt Creator.
> In CMakeLists.txt I have:
> OPTION(BUILD_SHARED_LIBS "Build package with shared libraries." OFF)
> and in CMakeCache.txt I see:
> BUILD_SHARED_LIBS:BOOL=OFF
> but the executable is still built using all shared libraries.

Are you talking about building ITK here or your application? ITK is
what needs to be rebuilt with the shared libs off.

John
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list