Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnfreeman committed Oct 6, 2024
2 parents 5754c51 + a68b0e1 commit 2e656de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/cupcake_add_library.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ function(cupcake_add_library name)
if(NOT type STREQUAL SHARED_LIBRARY)
# Disable the export definitions.
string(TOUPPER ${name} UPPER_NAME)
string(REPLACE - _ UPPER_NAME ${UPPER_NAME})
target_compile_definitions(${target} PUBLIC ${UPPER_NAME}_STATIC_DEFINE)
endif()
endif()
Expand Down
1 change: 1 addition & 0 deletions cmake/cupcake_generate_version_header.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ function(cupcake_generate_version_header name)
set(ARG_EXPORT_FILE_NAME "${CMAKE_HEADER_OUTPUT_DIRECTORY}/${name}/version.hpp")
endif()
string(TOUPPER ${name} UPPER_NAME)
string(REPLACE - _ UPPER_NAME ${UPPER_NAME})
configure_file(
"${CUPCAKE_MODULE_DIR}/data/version.hpp.in"
"${ARG_EXPORT_FILE_NAME}"
Expand Down

0 comments on commit 2e656de

Please sign in to comment.