diff options
author | James Bigler <jbigler@nvidia.com> | 2009-11-04 06:15:31 (GMT) |
---|---|---|
committer | James Bigler <jbigler@nvidia.com> | 2009-11-04 06:15:31 (GMT) |
commit | b1817590c15ee49723e863be5b9e82eb5e477db4 (patch) | |
tree | f84cc091df06a3dad8fdde719ab10cc45e625ac6 /Modules/FindCxxTest.cmake | |
parent | f87bdbf3284d0598bdd65d6fec3609043448e6b7 (diff) | |
download | CMake-b1817590c15ee49723e863be5b9e82eb5e477db4.zip CMake-b1817590c15ee49723e863be5b9e82eb5e477db4.tar.gz CMake-b1817590c15ee49723e863be5b9e82eb5e477db4.tar.bz2 |
Fix -fPIC from being used on executable object files.
BUILD_SHARED_LIBS is now only recognized when calling CUDA_ADD_LIBRARY. If you want the CMAKE_SHARED_LIBRARY_C/CXX_FLAGS to be used, pass SHARED as an argument. This prevents -fPIC from being used on objects destined for executables by default.
Diffstat (limited to 'Modules/FindCxxTest.cmake')
0 files changed, 0 insertions, 0 deletions