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

Implement disabling of automatic library installation

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10763 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 49bcbe4e
...@@ -532,6 +532,9 @@ function (acg_add_library _target _libtype) ...@@ -532,6 +532,9 @@ function (acg_add_library _target _libtype)
endif () endif ()
# Block installation of libraries by setting ACG_NO_LIBRARY_INSTALL
if ( NOT ACG_NO_LIBRARY_INSTALL )
if (NOT ACG_PROJECT_MACOS_BUNDLE OR NOT APPLE) if (NOT ACG_PROJECT_MACOS_BUNDLE OR NOT APPLE)
if (${_type} STREQUAL SHARED OR ${_type} STREQUAL STATIC ) if (${_type} STREQUAL SHARED OR ${_type} STREQUAL STATIC )
install (TARGETS ${_target} install (TARGETS ${_target}
...@@ -548,6 +551,7 @@ function (acg_add_library _target _libtype) ...@@ -548,6 +551,7 @@ function (acg_add_library _target _libtype)
install (TARGETS ${_target} DESTINATION ${ACG_PROJECT_PLUGINDIR}) install (TARGETS ${_target} DESTINATION ${ACG_PROJECT_PLUGINDIR})
endif () endif ()
endif () endif ()
endif()
endfunction () endfunction ()
......
Markdown is supported
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