Skip to content

Commit

Permalink
Use list insert
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Aug 8, 2024
1 parent a4ef400 commit 5114574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/AwsPrebuildDependency.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function(prebuild_dependency)
endif()

# Make the installation visible for others.
list(PREPEND CMAKE_PREFIX_PATH ${depInstallDir}/)
list(INSERT CMAKE_PREFIX_PATH 0 ${depInstallDir}/)
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} PARENT_SCOPE)

set(${AWS_PREBUILD_DEPENDENCY_NAME}-PREBUILT TRUE CACHE INTERNAL "Indicate that dependency is built and can be used")
Expand Down

0 comments on commit 5114574

Please sign in to comment.