Use find_package instead of import in the backwards-compat
This guarantees that 32BLIT_DIR will always be set, even if user
didn't set it.
@@ -5,4 +5,4 @@ instead of:
include(32blit.cmake)
and use the variable 32BLIT_DIR instead of 32BLIT_PATH.
")
-include(${CMAKE_CURRENT_LIST_DIR}/32blit-config.cmake)
+find_package (32BLIT CONFIG REQUIRED PATHS ${CMAKE_CURRENT_LIST_DIR})
