Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
chemiskyy committed Oct 9, 2023
1 parent d1767be commit 8324f47
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,12 @@ set(LIBRARY_OUTPUT_PATH lib)
#Inclusion of Armadillo
if (MSVC)
set(BLA_PKGCONFIG_BLAS True)
else()
find_package(BLAS REQUIRED)
find_package(LAPACK REQUIRED)
find_package(Armadillo 12.6 REQUIRED)

endif()

find_package(BLAS REQUIRED)
find_package(LAPACK REQUIRED)
find_package(Armadillo 12.6 REQUIRED)

if (MSVC)
find_package(carma CONFIG REQUIRED)
set(ARMADILLO_LIBRARIES ${ARMADILLO_LIBRARIES} ${BLAS_LIBRARIES} ${LAPACK_LIBRARIES})
Expand Down

0 comments on commit 8324f47

Please sign in to comment.