mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
4d72006bd6
Several platform-wide linker flag variables are defined in
Modules/Platform/<os>.cmake files for C and then copied by the
Modules/CMake<lang>Information.cmake file for each language.
We now use this approach for the variables
CMAKE_EXE_EXPORTS_${lang}_FLAG
CMAKE_SHARED_LIBRARY_SONAME_${lang}_FLAG
CMAKE_SHARED_LIBRARY_CREATE_${lang}_FLAGS
to avoid duplication for multiple languages in each platform file.
3 lines
53 B
CMake
3 lines
53 B
CMake
# Linux sun studio c options
|
|
SET(CMAKE_DL_LIBS "dl")
|