root/OpenSceneGraph/trunk/src/osgPlugins/freetype/CMakeLists.txt @ 10964

Revision 10964, 0.8 kB (checked in by robert, 4 years ago)

Restructure the includes of freetype

  • Property svn:eol-style set to native
Line 
1IF(WIN32)
2    SET(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} /NODEFAULTLIB:MSVCRT")
3ENDIF()
4
5INCLUDE_DIRECTORIES(${FREETYPE_INCLUDE_DIR_ft2build} ${FREETYPE_INCLUDE_DIR_freetype2}/freetype ${FREETYPE_INCLUDE_DIR_freetype2})
6
7IF(APPLE)
8  SET(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib")
9ENDIF()
10
11SET(TARGET_SRC
12    FreeTypeFont.cpp
13    FreeTypeFont3D.cpp
14    FreeTypeLibrary.cpp
15    ReaderWriterFreeType.cpp )
16SET(TARGET_H
17    FreeTypeFont.h
18    FreeTypeFont3D.h
19    FreeTypeLibrary.h )
20SET(TARGET_ADDED_LIBRARIES osgText )
21SET(TARGET_LIBRARIES_VARS FREETYPE_LIBRARY )
22#### end var setup  ###
23SETUP_PLUGIN(freetype)
Note: See TracBrowser for help on using the browser.