Skip to content

Commit

Permalink
CreateTempFile: fix wrong variable name
Browse files Browse the repository at this point in the history
Fix CMake errors with MSVC + CMake < 3.14
  • Loading branch information
PhysSong authored Aug 16, 2021
1 parent da54109 commit 46c246a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/CreateTempFile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function(CreateTempFilePath)

set(file_name "${CMAKE_BINARY_DIR}/${TEMP_TAG}_${hashed_content}")
set(${TEMP_OUTPUT_VAR} "${file_name}" PARENT_SCOPE)
if(CONFIG_SUFFIX)
if(TEMP_CONFIG_SUFFIX)
set(file_name "${file_name}_$<CONFIG>")
endif()

Expand Down

0 comments on commit 46c246a

Please sign in to comment.