"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cmake/modules/AddARPACKPPFlags.cmake" between
dune-istl-2.6.0rc1.tar.gz and dune-istl-2.6.0.tar.gz

About: dune-istl - DUNE (Distributed and Unified Numerics Environment) is a modular toolbox for solving partial differential equations (PDEs) with grid-based methods: DUNE Iterative Solver Template Library.

AddARPACKPPFlags.cmake  (dune-istl-2.6.0rc1):AddARPACKPPFlags.cmake  (dune-istl-2.6.0)
skipping to change at line 17 skipping to change at line 17
# :single: # :single:
# :required: # :required:
# #
# A list of targets to use ARPACKPP with. # A list of targets to use ARPACKPP with.
# #
function(add_dune_arpackpp_flags _targets) function(add_dune_arpackpp_flags _targets)
if(ARPACKPP_FOUND) if(ARPACKPP_FOUND)
foreach(_target ${_targets}) foreach(_target ${_targets})
target_link_libraries(${_target} ${ARPACKPP_DUNE_LIBRARIES}) target_link_libraries(${_target} ${ARPACKPP_DUNE_LIBRARIES})
get_target_property(_props ${_target} COMPILE_FLAGS) target_compile_definitions(${_target} PUBLIC ENABLE_ARPACKPP=1)
string(REPLACE "_props-NOTFOUND" "" _props "${_props}") target_compile_options(${_target} PUBLIC ${ARPACKPP_DUNE_COMPILE_FLAGS})
set_target_properties(${_target} PROPERTIES COMPILE_FLAGS
"${_props} ${ARPACKPP_DUNE_COMPILE_FLAGS} -DENABLE_ARPACKPP=1")
endforeach() endforeach()
endif() endif()
endfunction(add_dune_arpackpp_flags) endfunction(add_dune_arpackpp_flags)
 End of changes. 1 change blocks. 
4 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)