mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-02 16:24:47 +00:00
Fixed: Compilation of object_viewer_widget in static under Linux
This commit is contained in:
parent
0349c9af1d
commit
2c5a5d0376
1 changed files with 8 additions and 2 deletions
|
@ -31,7 +31,13 @@ ENDIF()
|
|||
|
||||
SOURCE_GROUP(QtGeneratedMocSrc FILES ${OBJECT_VIEWER_WIDGET_MOC_SRCS})
|
||||
|
||||
ADD_LIBRARY(object_viewer_widget_qt MODULE
|
||||
IF(WITH_STATIC)
|
||||
SET(TYPE STATIC)
|
||||
ELSE()
|
||||
SET(TYPE MODULE)
|
||||
ENDIF()
|
||||
|
||||
ADD_LIBRARY(object_viewer_widget_qt ${TYPE}
|
||||
${OBJECT_VIEWER_WIDGET_SRC}
|
||||
${OBJECT_VIEWER_WIDGET_MOC_SRCS})
|
||||
|
||||
|
@ -47,4 +53,4 @@ IF(WITH_PCH)
|
|||
ADD_NATIVE_PRECOMPILED_HEADER(object_viewer_widget_qt ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.h ${CMAKE_CURRENT_SOURCE_DIR}/stdpch.cpp)
|
||||
ENDIF()
|
||||
|
||||
#INSTALL(TARGETS object_viewer_widget_qt RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT runtime BUNDLE DESTINATION /Applications)
|
||||
#INSTALL(TARGETS object_viewer_widget_qt RUNTIME DESTINATION ${NL_BIN_PREFIX} COMPONENT runtime)
|
||||
|
|
Loading…
Reference in a new issue