--- ray/src/gen/CMakeLists.txt 2018/01/08 16:51:32 2.5 +++ ray/src/gen/CMakeLists.txt 2021/04/18 02:30:37 2.9 @@ -4,12 +4,13 @@ add_executable(genbeads genbeads.c hermite3.c) target_link_libraries(genbeads ${LIB_M}) add_executable(genbox genbox.c) +target_link_libraries(genbox wfobj rtrad) add_executable(genmarble genmarble.c ../common/random.h) target_link_libraries(genmarble ${LIB_M}) add_executable(gensky gensky.c sun.c) -target_link_libraries(gensky ${LIB_M}) +target_link_libraries(gensky rtrad ${LIB_M}) add_executable(gendaylit gendaylit.c sun.c) target_link_libraries(gendaylit rtrad ${LIB_M}) @@ -18,10 +19,10 @@ add_executable(gendaymtx gendaymtx.c sun.c) target_link_libraries(gendaymtx rtrad ${LIB_M}) add_executable(genblinds genblinds.c) -target_link_libraries(genblinds ${LIB_M}) +target_link_libraries(genblinds rtrad ${LIB_M}) add_executable(genprism genprism.c) -target_link_libraries(genprism ${LIB_M}) +target_link_libraries(genprism rtrad ${LIB_M}) add_executable(xform xform.c) target_link_libraries(xform rtrad) @@ -77,6 +78,7 @@ file(COPY glaze2.cal illum.cal perezlum.cal + perezlum_c.cal rev.cal skybright.cal surf.cal