From cabad8a37f9370df96dfebc124e38d82c141c76a Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Thu, 2 Feb 2023 14:14:33 -0500 Subject: ExternalProject: Always use $ for source files --- Modules/ExternalProject.cmake | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index 3752ceb..18068cb 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -2091,13 +2091,7 @@ function(_ep_get_configuration_subdir_genex suffix_var) set(suffix "") get_property(_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) if(_isMultiConfig) - if(CMAKE_GENERATOR STREQUAL "Xcode") - # The Xcode generator does not support per-config sources, - # so use the underlying build system's placeholder instead. - set(suffix "/${CMAKE_CFG_INTDIR}") - else() - set(suffix "/$") - endif() + set(suffix "/$") endif() set(${suffix_var} "${suffix}" PARENT_SCOPE) endfunction() -- cgit v0.12