diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3cb6aeb..ade950f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ -cmake_minimum_required(VERSION 3.7) +cmake_minimum_required(VERSION 3.5) project(fracture) -include_directories(src ~/.local/include) +include_directories(src ~/.local/include /usr/include/suitesparse) link_directories(~/.local/lib) file(GLOB LIB_SOURCES lib/*.c) @@ -15,5 +15,6 @@ foreach( src_file ${EXE_SOURCES} ) string( REGEX REPLACE ".*/src/(.*)\.c" "\\1" exe_name ${src_file} ) add_executable( ${exe_name} ${src_file} ) target_link_libraries(${exe_name} fracture_stuff gsl c cblas lapack dl pthread cholmod amd colamd suitesparseconfig camd ccolamd rt metis m jst tcmalloc profiler) + install(TARGETS ${exe_name} DESTINATION bin) endforeach( src_file ${EXE_SOURCES} ) |