Fix building unit tests without FTDIPP
[libftdi] / CMakeLists.txt
index 3b0b87c..58f664a 100644 (file)
@@ -150,6 +150,7 @@ if ( EXAMPLES )
 endif ()
 add_subdirectory(packages)
 if ( BUILD_TESTS )
+  project(libftdi1 C CXX)
   add_subdirectory(test)
 endif ()