diff --git a/CMakeLists.txt b/CMakeLists.txt index 35f652714..cd882158c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,11 +68,8 @@ ign_find_package(ignition-msgs5 REQUIRED) set(IGN_MSGS_VER ${ignition-msgs5_VERSION_MAJOR}) #-------------------------------------- -# Find ignition-tools -ign_find_package(ignition-tools QUIET) -if (ignition-tools_FOUND) - set (HAVE_IGN_TOOLS TRUE) -endif() +# Find if ign command is available +find_program(HAVE_IGN_TOOLS ign) #-------------------------------------- # Find QT