fix(CMake): Use cmake-generator-expressions for escaping quotes (#2307)

This commit is contained in:
Stoabrogga
2019-09-24 21:11:13 +02:00
committed by Kargatum
parent 7afaf743c6
commit 8689903f58
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ if( UNIX )
endif()
message("* Install configs to : ${CONF_DIR}")
add_definitions(-D_CONF_DIR="\\"${CONF_DIR}\\"")
add_definitions(-D_CONF_DIR=$<1:"${CONF_DIR}">)
message("")