Mostly rewritten CMake files by Michael Surette. They are more complete

than what we had previously, but may need some more testing. The latest
changes (removing old APPLE_QD definitions and code) might need another
update.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser
2010-04-05 22:33:58 +00:00
parent 2bf6fa6074
commit a0d26b634a
19 changed files with 1609 additions and 844 deletions
+27
View File
@@ -0,0 +1,27 @@
project(FLTKcairo)
include_directories(${FLTKcairo_SOURCE_DIR})
include_directories(${FLTKcairo_BINARY_DIR})
include_directories(${PKG_CAIRO_INCLUDE_DIRS})
# source files for cairo
set(cairo_SRCS Fl_Cairo.cxx)
#######################################################################
add_library(fltk_cairo ${cairo_SRCS})
if(MSVC)
set_target_properties(fltk_cairo
PROPERTIES
OUTPUT_NAME fltkcairo
DEBUG_OUTPUT_NAME fltkcairod
)
if(OPTION_LARGE_FILE)
set_target_properties(fltk_cairo PROPERTIES LINK_FLAGS /LARGEADDRESSAWARE)
endif(OPTION_LARGE_FILE)
endif(MSVC)
install(TARGETS fltk_cairo
EXPORT fltk-install
DESTINATION ${PREFIX_LIB}
)