Skip to content
This repository has been archived by the owner on Dec 21, 2021. It is now read-only.

Commit

Permalink
Changes to support new pmap compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregungory committed Apr 2, 2015
1 parent 05fea1b commit 4413927
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/rt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ add_library(radiance
m_mirror.c m_mist.c mx_func.c mx_data.c noise3.c normal.c o_face.c o_cone.c
o_instance.c o_mesh.c p_data.c p_func.c preload.c raytrace.c renderopts.c
source.c sphere.c srcobstr.c srcsupp.c srcsamp.c t_data.c t_func.c text.c
pmap.c pmapsrc.c pmapmat.c pmaprand.c pmapio.c
pmapbias.c pmapparm.c pmapcontrib.c pmapamb.c pmapray.c pmapopt.c
pmapdata.c pmapdiag.c pmaptype.c
"${VERSION_FILE}" virtuals.c)

if(WIN32)
Expand All @@ -29,7 +32,13 @@ target_link_libraries(lookamb rtrad)
add_executable(rcontrib rcmain.c rcontrib.c rc2.c rc3.c)
target_link_libraries(rcontrib radiance rtrad)

set(targets_to_install lookamb radiance raycalls rtrace rpict rcontrib)
add_executable(mkpmap mkpmap.c)
target_link_libraries(mkpmap radiance rtrad)

add_executable(pmapdump pmapdump.c pmaptype.c pmapparm.c)
target_link_libraries(pmapdump radiance rtrad)

set(targets_to_install lookamb radiance raycalls rtrace rpict rcontrib mkpmap pmapdump)

if(X11_FOUND)
set(X11_SOURCES x11.c x11twind.c)
Expand Down

0 comments on commit 4413927

Please sign in to comment.