Skip to content

Commit

Permalink
specify fortran differently
Browse files Browse the repository at this point in the history
  • Loading branch information
claudioperez committed Jul 23, 2021
1 parent 91c87ba commit 06ad00d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ cmake_minimum_required(VERSION 3.16)
#
# - Option Application
#==============================================================================
project(
OpenSees
)
project(OpenSees C CXX Fortran)

set(CMAKE_DISABLE_IN_SOURCE_BUILD ON)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/ETC/cmake")
Expand Down Expand Up @@ -100,7 +98,7 @@ enable_language(Fortran)

# C++
#--------------------------------------
set(CMAKE_CXX_STANDARD 11)
#set(CMAKE_CXX_STANDARD 11)

# Warnings
opensees_add_cxx_flag(
Expand Down Expand Up @@ -251,6 +249,7 @@ add_executable(OpenSeesTcl EXCLUDE_FROM_ALL
${OPS_SRC_DIR}/tcl/tclAppInit.cpp
${OPS_SRC_DIR}/tcl/tclMain.cpp
)
set_property(TARGET OpenSeesTcl PROPERTY LINKER_LANGUAGE Fortran)
add_executable(OpenSeesSP EXCLUDE_FROM_ALL
${OPS_SRC_DIR}/tcl/tclAppInit.cpp
)
Expand Down

0 comments on commit 06ad00d

Please sign in to comment.