Skip to content

Commit

Permalink
use ccache for linalgpp
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Sep 25, 2024
1 parent be6ed6d commit bca45ce
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,7 @@ install(DIRECTORY btas
##########################
# external dependencies
##########################
if( BTAS_USE_BLAS_LAPACK )
include(external/linalgpp.cmake)
endif()
include(external/boost.cmake)

# optional dependency: ccache
# optional dependency: ccache, but need to be defined first so that mandatory dependencies can inherit it
find_program(CCACHE ccache)
if(CCACHE)
mark_as_advanced(CCACHE)
Expand All @@ -173,6 +168,11 @@ if(CCACHE)
set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE}" CACHE STRING "Compiler launcher to use for compiling C")
endif(CCACHE)

if( BTAS_USE_BLAS_LAPACK )
include(external/linalgpp.cmake)
endif()
include(external/boost.cmake)

##########################
# configure BTAS_ASSERT
##########################
Expand Down

0 comments on commit bca45ce

Please sign in to comment.