forked from GPUOpen-LibrariesAndSDKs/RadeonProRender-Baikal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add install commands for RadeonProRender64 and RprSupport64
- Loading branch information
1 parent
fa5f30b
commit 1c18091
Showing
2 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 () |