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