Skip to content

Commit

Permalink
OrbbecSDKConfig.cmake add define for script files
Browse files Browse the repository at this point in the history
  • Loading branch information
hzcyf committed Oct 11, 2023
1 parent e778394 commit 87bb093
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion OrbbecSDKConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ file(GLOB OrbbecSDK_DLL_FILES ${OrbbecSDK_LIBS_DIR}/*${ORBBEC_DLL_SUFFIX}*)
# runtime resource file should copy to cwd.
file(GLOB OrbbecSDK_RUNTIME_RESOURCE_FILES ${OrbbecSDK_LIBS_DIR}/*depthengine*)

# config file
# config file
file(GLOB OrbbecSDK_CONFIG_FILES ${CMAKE_CURRENT_LIST_DIR}/misc/config/*)

# script
if(WIN32)
file(GLOB OrbbecSDK_SCRIPT_FILES ${CMAKE_CURRENT_LIST_DIR}/misc/scripts/obsensor_metadata_win10*)
else()
file(GLOB OrbbecSDK_SCRIPT_FILES ${CMAKE_CURRENT_LIST_DIR}/misc/scripts/*rules*)
endif()

set(OrbbecSDK_FOUND TRUE)

0 comments on commit 87bb093

Please sign in to comment.