ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/CMakeLists.txt
(Generate patch)

Comparing ray/src/rt/CMakeLists.txt (file contents):
Revision 1.12 by greg, Tue Oct 27 22:14:34 2015 UTC vs.
Revision 1.13 by greg, Tue Mar 22 21:36:24 2016 UTC

# Line 48 | Line 48 | if(Qt5Widgets_DIR)
48    include_directories(${Qt5Widgets_INCLUDE_DIRS})
49    add_definitions("-DHAS_QT")
50   endif()
51 < if (X11_FOUND OR Qt5Widgets_DIR)
52 <  add_executable(rvu
53 <    rvmain.c rview.c rv2.c rv3.c devtable.c devcomm.c editline.c ${X11_SOURCES}
54 <    colortab.c)
55 <  target_link_libraries(rvu raycalls radiance rtrad ${X11_LIBRARIES})
56 <  list(APPEND targets_to_install rvu)
51 > if(NOT BUILD_HEADLESS)
52 >  if (X11_FOUND OR Qt5Widgets_DIR)
53 >    add_executable(rvu
54 >      rvmain.c rview.c rv2.c rv3.c devtable.c devcomm.c editline.c ${X11_SOURCES}
55 >      colortab.c)
56 >    target_link_libraries(rvu raycalls radiance rtrad ${X11_LIBRARIES})
57 >    list(APPEND targets_to_install rvu)
58  
59 <  # only link to rvu-qt-lib if qt is found
60 <  if(Qt5Widgets_DIR)
61 <    target_link_libraries(rvu qtrvu)
59 >    # only link to rvu-qt-lib if qt is found
60 >    if(Qt5Widgets_DIR)
61 >      target_link_libraries(rvu qtrvu)
62 >    endif()
63    endif()
64   endif()
65  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines