Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to art #8

Merged
merged 15 commits into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions misc/CMake/FindAppleseed.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,15 @@ find_path (Appleseed_INCLUDE_DIR renderer/api/project.h
${Appleseed_ROOT}
PATH_SUFFIXES
include
appleseed/include
)

find_library (Appleseed_LIBRARY
NAMES appleseed
NAMES Appleseed
HINTS
${Appleseed_ROOT}
PATH_SUFFIXES
lib64
lib
lib64
)

# Handle the QUIETLY and REQUIRED arguments and set Appleseed_FOUND.
Expand Down
3 changes: 3 additions & 0 deletions src/art/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ set(ART_INCLUDE_DIRS
${OPTICAL_INCLUDE_DIRS}
${FB_INCLUDE_DIRS}
${RT_INCLUDE_DIRS}
${GED_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
)

Expand All @@ -10,6 +11,7 @@ BRLCAD_INCLUDE_DIRS(ART_INCLUDE_DIRS)

set(RT_STD_LIBS
Threads::Threads
libged
librt
libnmg
libdm
Expand Down Expand Up @@ -44,6 +46,7 @@ if(Appleseed_FOUND)
art.cpp
brlcadplugin.cpp
../rt/opt.c
../rt/usage.cpp
)

BRLCAD_ADDEXEC(art "${ART_SRCS}" "${RT_STD_LIBS};${Appleseed_LIBRARIES};${Appleseed_BOOST_SYSTEM_LIB};${Appleseed_OPENIMAGEIO_LIB}" TEST_USESDATA)
Expand Down
Loading