cmake source definitions:
[blender.git] / source / blender / blenfont / CMakeLists.txt
index 4f211bd..0258a41 100644 (file)
@@ -29,7 +29,10 @@ set(INC
        ../editors/include
        ../blenkernel
        ../../../intern/guardedalloc
-       ../../../extern/glew/include
+)
+
+set(INC_SYS
+       ${GLEW_INCLUDE_PATH}
        ${FREETYPE_INCLUDE_DIRS}
 )
 
@@ -47,7 +50,9 @@ set(SRC
 )
 
 if(WITH_INTERNATIONAL)
-       list(APPEND INC ${GETTEXT_INC})
+       list(APPEND INC_SYS
+               ${GETTEXT_INC}
+       )
        add_definitions(-DINTERNATIONAL)
 endif()
 
@@ -55,5 +60,5 @@ if(WIN32 AND NOT UNIX)
        add_definitions(-DUSE_GETTEXT_DLL)
 endif()
 
-blender_add_lib(bf_blenfont "${SRC}" "${INC}")
+blender_add_lib(bf_blenfont "${SRC}" "${INC}" "${INC_SYS}")