Skip to content
Snippets Groups Projects
Commit 4cfe7312 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Hotfix: replace else by elseif in cmake config file

parent e93c2449
No related branches found
No related tags found
1 merge request!21findSensor
......@@ -48,7 +48,7 @@ macro(wolf_report_not_found REASON_MSG)
# FindPackage() use the camelcase library name, not uppercase.
if (wolfbodydynamics_FIND_QUIETLY)
message(STATUS "Failed to find wolf bodydynamics- " ${REASON_MSG} ${ARGN})
else (wolfbodydynamics_FIND_REQUIRED)
elseif(wolfbodydynamics_FIND_REQUIRED)
message(FATAL_ERROR "Failed to find wolf bodydynamics - " ${REASON_MSG} ${ARGN})
else()
# Neither QUIETLY nor REQUIRED, use SEND_ERROR which emits an error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment