diff --git a/CMake/FindVRPN.cmake b/CMake/FindVRPN.cmake
index 99f1d2cb2b1c4d8b921a8dee49a02325c3674ef8..68fd6f03bf4a721c64e1d274585db3e1f2e02231 100644
--- a/CMake/FindVRPN.cmake
+++ b/CMake/FindVRPN.cmake
@@ -134,6 +134,9 @@ if(WIN32)
     NAMES
       setupapi
     )
+  if(NOT HIDAPI_LIBRARY)
+    message(FATAL_ERROR "hidapi library not found")
+  endif()
 elseif(APPLE)
   find_library(MACHID_CoreFoundation_LIBRARY CoreFoundation)
   find_library(MACHID_IOKit_LIBRARY IOKit)
diff --git a/CMake/Findg3log.cmake b/CMake/Findg3log.cmake
index da6f1fd7919542ab644eed1ef158e5d4b68417a5..e62d42bc22376554054a0f6a60e91cbf45cc3d9b 100644
--- a/CMake/Findg3log.cmake
+++ b/CMake/Findg3log.cmake
@@ -5,6 +5,11 @@ if(WIN32)
   find_library(DbgHelp_LIBRARY NAMES DbgHelp)
 endif()
 
+if(NOT DbgHelp_LIBRARY)
+  message(FATAL_ERROR "DbgHelp library not found")
+endif()
+
+
 #-----------------------------------------------------------------------------
 # Find path
 #-----------------------------------------------------------------------------
@@ -14,7 +19,6 @@ find_path(g3log_INCLUDE_DIR
     g3log/logworker.hpp
     )
 mark_as_advanced(g3log_INCLUDE_DIR)
-#message(STATUS "g3log_INCLUDE_DIR : ${g3log_INCLUDE_DIR}")
 
 #-----------------------------------------------------------------------------
 # Find library
@@ -25,7 +29,6 @@ find_library(g3log_LIBRARY
     g3logger
   )
 mark_as_advanced(g3log_LIBRARY)
-#message(STATUS "g3log_LIBRARY : ${g3log_LIBRARY}")
 
 set(g3log_LIBRARIES ${g3log_LIBRARY} ${DbgHelp_LIBRARY})