| 1 |
+ |
# Locate the threads package |
| 2 |
+ |
set(CMAKE_THREAD_PREFER_PTHREAD TRUE) |
| 3 |
+ |
set(THREADS_PREFER_PTHREAD_FLAG TRUE) |
| 4 |
+ |
find_package(Threads REQUIRED) |
| 5 |
+ |
|
| 6 |
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../rt) |
| 7 |
|
|
| 8 |
|
add_executable(genbeads genbeads.c hermite3.c) |
| 17 |
|
add_executable(gensky gensky.c sun.c) |
| 18 |
|
target_link_libraries(gensky rtrad ${LIB_M}) |
| 19 |
|
|
| 20 |
+ |
add_executable(genssky genssky.c sun.c atmos.c) |
| 21 |
+ |
target_link_libraries(genssky rtrad ${LIB_M} Threads::Threads) |
| 22 |
+ |
|
| 23 |
+ |
add_executable(gensdaymtx gensdaymtx.c sun.c atmos.c) |
| 24 |
+ |
target_link_libraries(gensdaymtx rtrad ${LIB_M} Threads::Threads) |
| 25 |
+ |
|
| 26 |
|
add_executable(gendaylit gendaylit.c sun.c) |
| 27 |
|
target_link_libraries(gendaylit rtrad ${LIB_M}) |
| 28 |
|
|
| 74 |
|
genprism |
| 75 |
|
genrev |
| 76 |
|
gensky |
| 77 |
+ |
genssky |
| 78 |
|
gensurf |
| 79 |
|
genworm |
| 80 |
|
mkillum |
| 94 |
|
rev.cal |
| 95 |
|
skybright.cal |
| 96 |
|
surf.cal |
| 97 |
+ |
mie_ca.dat |
| 98 |
|
DESTINATION "${CMAKE_BINARY_DIR}/lib" |
| 99 |
|
) |
| 100 |
|
|