Skip to content

Commit

Permalink
Remove cmake requirement for fortran
Browse files Browse the repository at this point in the history
Commit b253a14 removed the need for a fortran compiler, but cmake
was still requiring one
  • Loading branch information
peterlama committed Dec 19, 2014
1 parent d872207 commit 662d72b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Expand Up @@ -50,9 +50,6 @@ if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
endif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGXX)
# Needed for salomesmesh
ENABLE_LANGUAGE(Fortran)

include(cMake/ConfigureChecks.cmake)
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
add_definitions(-DHAVE_CONFIG_H)
Expand Down
4 changes: 0 additions & 4 deletions src/3rdParty/salomesmesh/CMakeLists.txt
Expand Up @@ -87,10 +87,6 @@ SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
#INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
#MESSAGE("Popo: ${Boost_INCLUDE_DIR}")

################
# Check Fortran#
################
INCLUDE(CMakeDetermineFortranCompiler)

########################################
# OpenCASCADE include and lib location #
Expand Down

0 comments on commit 662d72b

Please sign in to comment.