Skip to content

Commit

Permalink
Add install commands for RadeonProRender64 and RprSupport64
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderVeselov committed Aug 16, 2018
1 parent fa5f30b commit 1c18091
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Rpr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,9 @@ target_compile_features(RadeonProRender64 PRIVATE cxx_std_14)
target_include_directories(RadeonProRender64 PUBLIC ${Baikal_SOURCE_DIR}/Rpr)
target_link_libraries(RadeonProRender64 PUBLIC Baikal BaikalIO OpenGL::GL GLEW::GLEW)


# Install target
if (WIN32)
install(TARGETS RadeonProRender64 RUNTIME DESTINATION bin)
else ()
install(TARGETS RadeonProRender64 LIBRARY DESTINATION lib)
endif ()
9 changes: 7 additions & 2 deletions RprSupport/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
set(SOURCES RprSupport.cpp)

add_library(RprSupport64 SHARED ${SOURCES})
target_compile_definitions(RprSupport64 PRIVATE RPR_EXPORT_API)
target_compile_features(RprSupport64 PRIVATE cxx_std_14)
target_include_directories(RprSupport64 PUBLIC ${RprSupport_HEADER})
target_link_libraries(RprSupport64 PUBLIC RadeonProRender64)


# Install target
if (WIN32)
install(TARGETS RprSupport64 RUNTIME DESTINATION bin)
else ()
install(TARGETS RprSupport64 LIBRARY DESTINATION lib)
endif ()

0 comments on commit 1c18091

Please sign in to comment.