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

Revision 9998, 0.7 kB (checked in by robert, 6 years ago)

From Philip Lowman, clean up of CMake files

  • 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_DIRS} )
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.