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 84533ba7a8
commit 4a737aef53

View file

@ -8,6 +8,10 @@
# This tells the application(s) where to fidn the installed data. # This tells the application(s) where to fidn the installed data.
ADD_DEFINITIONS(-DDATA_DIR="\\"${NL_SHARE_PREFIX}/object_viewer_qt/\\"") 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) ADD_SUBDIRECTORY(src)
INSTALL(DIRECTORY data/ INSTALL(DIRECTORY data/