Skip to content

Commit

Permalink
Remove SDK notice due to not found native libs
Browse files Browse the repository at this point in the history
  • Loading branch information
hobyst committed Sep 11, 2023
1 parent a65abdc commit 62f28e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMake/SamplesShellDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
# Required to use the functions from the shlwapi.h header
find_library(Shlwapi NAMES "Shlwapi" "Shlwapi.lib" "Shlwapi.dll")
if(NOT Shlwapi)
report_not_found_native_library("Shlwapi")
# report_not_found_native_library("Shlwapi")

# Many platform libraries are still available to linkers even if CMake cannot find them
# Ignore the fact that the Shlwapi wasn't found and try to link against it anyway
set(Shlwapi "Shlwapi")
endif()
Expand All @@ -30,8 +31,9 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
# Required to use the functions from the Cocoa framework
find_library(Cocoa NAMES "Cocoa" "Cocoa.framework")
if(NOT Cocoa)
report_not_found_native_library("Cocoa")
# report_not_found_native_library("Cocoa")

# Many platform libraries are still available to linkers even if CMake cannot find them
# Ignore the fact that the Cocoa wasn't found and try to link against it anyway
set(Cocoa "Cocoa")
endif()
Expand Down

0 comments on commit 62f28e7

Please sign in to comment.