Commit 97fdeed9 authored by LEFEBVREJP email's avatar LEFEBVREJP email
Browse files

Disabling fortran bindings and units tests if shared builds.

parent 7ada5d28
Pipeline #53448 passed with stages
in 15 minutes and 3 seconds
......@@ -14,7 +14,7 @@ SET(CXXHDR
SET(CXXLIB ${SUBPACKAGE_FULLNAME})
TRIBITS_ADD_LIBRARY(${CXXLIB} SOURCES ${CXXSRC} NOINSTALLHEADERS ${CXXHDR})
IF(${PROJECT_NAME}_ENABLE_Fortran)
IF(${PROJECT_NAME}_ENABLE_Fortran AND NOT BUILD_SHARED_LIBS)
ADD_COMPILE_OPTIONS("-ffree-line-length-none")
SET(F90SRC
sparse_grids_I.f90
......
INCLUDE(SetDefault)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/..)
IF(${PROJECT_NAME}_ENABLE_Fortran)
IF(${PROJECT_NAME}_ENABLE_Fortran AND NOT BUILD_SHARED_LIBS)
SET(FTESTS)
LIST(APPEND FTESTS
tstConstrainedSparseGrids.f90
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment