Skip to content

Commit

Permalink
Use underscore for prebuilt var
Browse files Browse the repository at this point in the history
  • Loading branch information
sfodagain committed Aug 9, 2024
1 parent 5114574 commit d6004d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/AwsPrebuildDependency.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# SOURCE_DIR Path to the project.
# CMAKE_ARGUMENTS Additional arguments that will be passed to cmake command.
#
# Set ${DEPENDENCY_NAME}-PREBUILT variable on success.
# Set ${DEPENDENCY_NAME}_PREBUILT variable on success.
function(prebuild_dependency)
set(oneValueArgs DEPENDENCY_NAME SOURCE_DIR)
set(multiValueArgs CMAKE_ARGUMENTS)
Expand Down Expand Up @@ -62,7 +62,7 @@ function(prebuild_dependency)
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")
set(${AWS_PREBUILD_DEPENDENCY_NAME}_PREBUILT TRUE CACHE INTERNAL "Indicate that dependency is built and can be used")

# Generates installation rules for the dependency project.
# On installing targets, CMake will just copy this prebuilt version to a designated installation directory.
Expand Down

0 comments on commit d6004d3

Please sign in to comment.