[flang] Remove SHARED from add_library(), use cmake command line option instead

Original-commit: flang-compiler/f18@6644c799a7
Reviewed-on: https://github.com/flang-compiler/f18/pull/265
Tree-same-pre-rewrite: false
This commit is contained in:
peter klausler 2019-01-19 15:30:25 -08:00
parent f47c0bdaba
commit 9d63306d76
5 changed files with 5 additions and 6 deletions

View file

@ -12,8 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_library(FortranCommon SHARED
add_library(FortranCommon
default-kinds.cc
idioms.cc
)

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_library(FortranEvaluate SHARED
add_library(FortranEvaluate
call.cc
common.cc
complex.cc

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_library(FortranParser SHARED
add_library(FortranParser
char-buffer.cc
char-set.cc
characters.cc

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_library(FortranSemantics SHARED
add_library(FortranSemantics
assignment.cc
attr.cc
canonicalize-do.cc

View file

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_library(FortranRuntime SHARED
add_library(FortranRuntime
ISO_Fortran_binding.cc
derived-type.cc
descriptor.cc