Mercurial > hg > orthanc
comparison OrthancFramework/SharedLibrary/CMakeLists.txt @ 5357:fddb5d8d0021
Prevent the leak of the full path of the source files in the binaries
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Jul 2023 17:04:31 +0200 |
parents | 0ea402b4d901 |
children | 78aad3916da4 |
comparison
equal
deleted
inserted
replaced
5354:65b4e6ae2703 | 5357:fddb5d8d0021 |
---|---|
303 | 303 |
304 # Add the "-fPIC" option to use the static library from Orthanc | 304 # Add the "-fPIC" option to use the static library from Orthanc |
305 # plugins (the latter being shared libraries) | 305 # plugins (the latter being shared libraries) |
306 set_property(TARGET OrthancFramework PROPERTY POSITION_INDEPENDENT_CODE ON) | 306 set_property(TARGET OrthancFramework PROPERTY POSITION_INDEPENDENT_CODE ON) |
307 endif() | 307 endif() |
308 | |
309 DefineSourceBasenameForTarget(OrthancFramework) | |
308 endif() | 310 endif() |
309 | 311 |
310 | 312 |
311 | 313 |
312 ##################################################################### | 314 ##################################################################### |