Fixing kll depends bug in cmake.
This commit is contained in:
parent
fd25312f4f
commit
af4078ae9f
@ -71,7 +71,7 @@ if ( NOT "${DefaultMap}" STREQUAL "" )
|
|||||||
# Check if kll file is in build directory, otherwise default to layout directory
|
# Check if kll file is in build directory, otherwise default to layout directory
|
||||||
if ( EXISTS "${PROJECT_BINARY_DIR}/${MAP}.kll" )
|
if ( EXISTS "${PROJECT_BINARY_DIR}/${MAP}.kll" )
|
||||||
set ( DefaultMap_Args ${DefaultMap_Args} ${MAP}.kll )
|
set ( DefaultMap_Args ${DefaultMap_Args} ${MAP}.kll )
|
||||||
set ( KLL_DEPENDS ${KLL_DEPENDS} ${MAP}.kll )
|
set ( KLL_DEPENDS ${KLL_DEPENDS} ${PROJECT_BINARY_DIR}/${MAP}.kll )
|
||||||
else ()
|
else ()
|
||||||
set ( DefaultMap_Args ${DefaultMap_Args} ${PROJECT_SOURCE_DIR}/kll/layouts/${MAP}.kll )
|
set ( DefaultMap_Args ${DefaultMap_Args} ${PROJECT_SOURCE_DIR}/kll/layouts/${MAP}.kll )
|
||||||
set ( KLL_DEPENDS ${KLL_DEPENDS} ${PROJECT_SOURCE_DIR}/kll/layouts/${MAP}.kll )
|
set ( KLL_DEPENDS ${KLL_DEPENDS} ${PROJECT_SOURCE_DIR}/kll/layouts/${MAP}.kll )
|
||||||
@ -91,7 +91,7 @@ if ( NOT "${PartialMaps}" STREQUAL "" )
|
|||||||
# Check if kll file is in build directory, otherwise default to layout directory
|
# Check if kll file is in build directory, otherwise default to layout directory
|
||||||
if ( EXISTS "${PROJECT_BINARY_DIR}/${MAP_PART}.kll" )
|
if ( EXISTS "${PROJECT_BINARY_DIR}/${MAP_PART}.kll" )
|
||||||
set ( PartialMap_Args ${PartialMap_Args} ${MAP_PART}.kll )
|
set ( PartialMap_Args ${PartialMap_Args} ${MAP_PART}.kll )
|
||||||
set ( KLL_DEPENDS ${KLL_DEPENDS} ${MAP_PART}.kll )
|
set ( KLL_DEPENDS ${KLL_DEPENDS} ${PROJECT_BINARY_DIR}/${MAP_PART}.kll )
|
||||||
else ()
|
else ()
|
||||||
set ( PartialMap_Args ${PartialMap_Args} ${PROJECT_SOURCE_DIR}/kll/layouts/${MAP_PART}.kll )
|
set ( PartialMap_Args ${PartialMap_Args} ${PROJECT_SOURCE_DIR}/kll/layouts/${MAP_PART}.kll )
|
||||||
set ( KLL_DEPENDS ${KLL_DEPENDS} ${PROJECT_SOURCE_DIR}/kll/layouts/${MAP_PART}.kll )
|
set ( KLL_DEPENDS ${KLL_DEPENDS} ${PROJECT_SOURCE_DIR}/kll/layouts/${MAP_PART}.kll )
|
||||||
|
Reference in New Issue
Block a user