a0d26b634a
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
28 lines
688 B
CMake
28 lines
688 B
CMake
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}
|
|
)
|