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

Comparing ray/src/hd/CMakeLists.txt (file contents):
Revision 1.6 by greg, Wed May 30 18:31:11 2012 UTC vs.
Revision 1.7 by greg, Thu Mar 20 22:49:21 2014 UTC

# Line 20 | Line 20 | if(UNIX)
20    target_link_libraries(rhpict rtrad)
21    install(TARGETS rholo rhoptimize rhpict RUNTIME DESTINATION bin)
22  
23 <
24 <        add_executable(x11.hdi rhdisp.c rhdisp2.c viewbeams.c rhd_x11.c rhd_qtree.c rhd_qtree2r.c rhd_ctab.c holo.c)
25 <        target_link_libraries (x11.hdi rtrad ${X11_LIBRARIES})
26 <  if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
27 <    target_link_libraries(x11.hdi rt)
23 >  if(X11_FOUND)
24 >    add_executable(x11.hdi rhdisp.c rhdisp2.c viewbeams.c rhd_x11.c rhd_qtree.c rhd_qtree2r.c rhd_ctab.c holo.c)
25 >    target_link_libraries (x11.hdi rtrad ${X11_LIBRARIES})
26 >    if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
27 >      target_link_libraries(x11.hdi rt)
28 >    endif()
29 >    install(TARGETS x11.hdi RUNTIME DESTINATION bin)
30    endif()
29        install(TARGETS x11.hdi RUNTIME DESTINATION bin)
31   endif()
32  
33  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines