Do not build Qt tools if compiling with msvc.
This commit is contained in:
parent
6861c7f681
commit
a69589429e
@ -82,8 +82,8 @@ TARGET_LINK_LIBRARIES(nvzoom nvcore nvmath nvimage)
|
|||||||
|
|
||||||
INSTALL(TARGETS nvcompress nvdecompress nvddsinfo nvimgdiff nvassemble nvzoom DESTINATION bin)
|
INSTALL(TARGETS nvcompress nvdecompress nvddsinfo nvimgdiff nvassemble nvzoom DESTINATION bin)
|
||||||
|
|
||||||
# UI tools
|
# UI tools
|
||||||
IF(QT4_FOUND)
|
IF(QT4_FOUND AND NOT MSVC)
|
||||||
SET(QT_USE_QTOPENGL TRUE)
|
SET(QT_USE_QTOPENGL TRUE)
|
||||||
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ IF(QT4_FOUND)
|
|||||||
|
|
||||||
ADD_EXECUTABLE(nvcompressui MACOSX_BUNDLE ${SRCS} ${UICS} ${MOCS})
|
ADD_EXECUTABLE(nvcompressui MACOSX_BUNDLE ${SRCS} ${UICS} ${MOCS})
|
||||||
TARGET_LINK_LIBRARIES(nvcompressui ${LIBS})
|
TARGET_LINK_LIBRARIES(nvcompressui ${LIBS})
|
||||||
|
|
||||||
ENDIF(QT4_FOUND)
|
ENDIF(QT4_FOUND AND NOT MSVC)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user