CreateTempFile: fix wrong variable name
Fix CMake errors with MSVC + CMake < 3.14
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user