3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00

FindDotnet: generator expression IF is not available for older cmake versions

This commit is contained in:
Yatao Li 2019-01-12 19:35:08 +08:00
parent e5f65263bb
commit 3767c311aa

View file

@ -203,7 +203,7 @@ FUNCTION(DOTNET_GET_DEPS _DN_PROJECT arguments)
ENDIF()
IF(NOT _DN_CONFIG)
SET(_DN_CONFIG $<IF:$<CONFIG:Debug>,Debug,Release>)
SET(_DN_CONFIG "$<$<CONFIG:Debug>:Debug>$<$<NOT:$<CONFIG:Debug>>:Release>")
ENDIF()
# If platform is not specified, do not pass the Platform property.