@@ -128,7 +128,10 @@ else ()
if (URHO3D_INCLUDE_DIRS)
set (BASE_DIR ${URHO3D_INCLUDE_DIRS})
- set (DIRS Bullet kNet SDL)
+ set (DIRS Bullet SDL)
+ if (URHO3D_NETWORK)
+ list (APPEND DIRS kNet)
+ endif ()
if (URHO3D_ANGELSCRIPT)
list (APPEND DIRS AngelScript)
endif ()