Commit 52d181b6 authored by Jan Möbius's avatar Jan Möbius
Browse files

Added Version file for lib acg



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12455 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8501b522
include (ACGCommon)
acg_get_version ()
# Disable Library installation when not building ACG on its own but as part of another project!
if ( ${PROJECT_NAME} MATCHES "OpenFlipper")
set(ACG_NO_LIBRARY_INSTALL true)
......@@ -105,14 +107,18 @@ acg_qt4_automoc (moc_targets ${headers})
acg_add_library (ACG SHARED ${uic_targets} ${sources} ${headers} ${moc_targets})
if ( NOT WIN32 )
set_target_properties (ACG PROPERTIES VERSION 1.0
SOVERSION 1.0 )
set_target_properties (ACG PROPERTIES VERSION ${ACG_VERSION_MAJOR}.${ACG_VERSION_MINOR}
SOVERSION ${ACG_VERSION_MAJOR}.${ACG_VERSION_MINOR})
endif()
if (NOT ACG_PROJECT_MACOS_BUNDLE OR NOT APPLE)
install (TARGETS ACG DESTINATION ${ACG_PROJECT_LIBDIR})
endif ()
# display results
acg_print_configure_header (ACG "ACG")
if ( FTGL_FOUND )
target_link_libraries (ACG
OpenMeshCore
......
VERSION=1.0
MAJOR=1
MINOR=0
PATCH=0
ID=ACG
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment