Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaskenez committed Nov 6, 2024
1 parent 010fbce commit b3fde5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/carmaDependencyTargets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ IF (NOT TARGET armadillo::armadillo)
ENDIF ()
ENDIF ()
IF (TARGET armadillo::armadillo)
if(NOT ARMADILLO_INCLUDE_DIRS OR NOT ARMADILLO_LIBRARIES)
if(NOT ARMADILLO_INCLUDE_DIRS)
message(FATAL_ERROR "armadillo::armadillo is a target but ARMADILLO_INCLUDE_DIRS is not set.")
ENDIF ()
LIST(APPEND carma_INCLUDE_DIRS ${ARMADILLO_INCLUDE_DIRS})
Expand Down

0 comments on commit b3fde5a

Please sign in to comment.