fix for building with mingw/cmake
[blender.git] / intern / ghost / CMakeLists.txt
index 8319772adebccf9965988594e3e5464204627f5f..845e38cbb2ef55790a5cd14f47dd820597a3795f 100644 (file)
@@ -83,9 +83,10 @@ ELSEIF(UNIX)
 ELSEIF(WIN32)
        IF(MSVC)
                SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
-               LIST(APPEND INC ${WINTAB_INC})
        ENDIF(MSVC)
 
+       LIST(APPEND INC ${WINTAB_INC})
+
        LIST(APPEND SRC
                ./intern/GHOST_DisplayManagerWin32.cpp
                ./intern/GHOST_SystemWin32.cpp