Enable Qt ui with win32/msvc.
This commit is contained in:
parent
ff6f7f0506
commit
6befe3505c
@ -92,7 +92,7 @@ TARGET_LINK_LIBRARIES(nvzoom nvcore nvmath nvimage)
|
||||
INSTALL(TARGETS nvcompress nvdecompress nvddsinfo nvimgdiff nvassemble nvzoom nvmpegenc DESTINATION bin)
|
||||
|
||||
# UI tools
|
||||
IF(QT4_FOUND AND NOT MSVC)
|
||||
IF(QT4_FOUND) # AND NOT MSVC)
|
||||
SET(QT_USE_QTOPENGL TRUE)
|
||||
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
@ -113,7 +113,6 @@ IF(QT4_FOUND AND NOT MSVC)
|
||||
|
||||
ADD_EXECUTABLE(nvcompressui MACOSX_BUNDLE ${SRCS} ${UICS} ${MOCS})
|
||||
TARGET_LINK_LIBRARIES(nvcompressui ${LIBS})
|
||||
|
||||
ENDIF(QT4_FOUND AND NOT MSVC)
|
||||
|
||||
ENDIF(QT4_FOUND) # AND NOT MSVC)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user