mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 19:10:24 +08:00
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:
@@ -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}
|
||||
)
|
||||
Reference in New Issue
Block a user