Added: Error message when building OVQT with WITH_STATIC on UNIX
This commit is contained in:
parent
1c7d8571d7
commit
04ad41f4a7
1 changed files with 4 additions and 0 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue