summaryrefslogtreecommitdiffstats
path: root/Modules/UseQt4.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-27 21:22:28 (GMT)
committerBrad King <brad.king@kitware.com>2014-02-27 21:22:28 (GMT)
commit00503d387e60cd4ecda07c05bd501f5bb8df4f07 (patch)
treeab7d96e34bfd7b638f1df2c74fa0b4ff4b168c0b /Modules/UseQt4.cmake
parent0f9dbc1608969c3b2dd7e4842e338fa5f90f0b43 (diff)
downloadCMake-00503d387e60cd4ecda07c05bd501f5bb8df4f07.zip
CMake-00503d387e60cd4ecda07c05bd501f5bb8df4f07.tar.gz
CMake-00503d387e60cd4ecda07c05bd501f5bb8df4f07.tar.bz2
Watcom: Fix creation of DLLs without any exported symbols
Create each DLL import library by passing "option implib=..." to the linker for its SHARED library. This works even when there are no symbols to be exported. Leave the option out for MODULE libraries because we do not need an import library for them. For executables, retain the separate invocation of wlib because we want an import library only when the ENABLE_EXPORTS property is set, and in that case the project should provide symbols. Suggested-by: J Decker <d3ck0r@gmail.com>
Diffstat (limited to 'Modules/UseQt4.cmake')
0 files changed, 0 insertions, 0 deletions