[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


More information about the Insight-users mailing list