Fix windows build broken in raf97cdbb7713
authorunc0rr
Mon, 10 Dec 2012 11:45:21 +0400
changeset 8286 2e7eedac380d
parent 8285 a1500ffdc343
child 8287 e2a5dece221f
Fix windows build broken in raf97cdbb7713
misc/physfs/CMakeLists.txt
--- a/misc/physfs/CMakeLists.txt	Mon Dec 10 03:59:00 2012 +0100
+++ b/misc/physfs/CMakeLists.txt	Mon Dec 10 11:45:21 2012 +0400
@@ -16,6 +16,10 @@
     SET(WINDOWS TRUE)
 ENDIF(WIN32 AND NOT WINDOWS)
 
+if(WINDOWS)
+    find_package(SDL REQUIRED)
+endif(WINDOWS)
+
 # Bleh, let's do it for "APPLE" too.
 IF(APPLE AND NOT MACOSX)
     SET(MACOSX TRUE)