diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5b0650037675026b1f95126e9ecf1447855aeafc..7b706d8fe3802f15ff00b40be4170060157e3d08 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,9 +9,9 @@ if (hasParent)
   set (CorsikaData_VERSION "1.1.0" PARENT_SCOPE)
 endif (hasParent)
 
-if (NOT TAGET CONAN_PKG::bzip2)
+if (NOT TARGET CONAN_PKG::bzip2)
   message (FATAL_ERROR "Please configure with conan bzip2 package")
-endif (NOT TAGET CONAN_PKG::bzip2)
+endif (NOT TARGET CONAN_PKG::bzip2)
 
 enable_testing ()
 if (${CMAKE_VERSION} VERSION_LESS "3.12.0")