Added: Error message when building OVQT with WITH_STATIC on UNIX

This commit is contained in:
rti 2011-05-25 19:28:18 +02:00
parent 1c7d8571d7
commit 04ad41f4a7

View file

@ -8,6 +8,10 @@
# This tells the application(s) where to fidn the installed data.
ADD_DEFINITIONS(-DDATA_DIR="\\"${NL_SHARE_PREFIX}/object_viewer_qt/\\"")
IF(UNIX AND WITH_STATIC)
MESSAGE(FATAL_ERROR "OVQT does not work with static NeL builds on Unix atm.")
ENDIF()
ADD_SUBDIRECTORY(src)
INSTALL(DIRECTORY data/