Fix ENVFILE variable value for dev desktop builds
This commit is contained in:
parent
7e62ebe96b
commit
a90dc39637
|
@ -16,7 +16,11 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "10.9")
|
||||||
message(STATUS "EXTERNAL_MODULES_DIR: ${EXTERNAL_MODULES_DIR}")
|
message(STATUS "EXTERNAL_MODULES_DIR: ${EXTERNAL_MODULES_DIR}")
|
||||||
|
|
||||||
string(REGEX MATCH "BUILD_FOR_BUNDLE" BUILD_FOR_BUNDLE "${CMAKE_CXX_FLAGS}")
|
string(REGEX MATCH "BUILD_FOR_BUNDLE" BUILD_FOR_BUNDLE "${CMAKE_CXX_FLAGS}")
|
||||||
|
if(${BUILD_FOR_BUNDLE} MATCHES "BUILD_FOR_BUNDLE")
|
||||||
set(ENVFILE "/.env")
|
set(ENVFILE "/.env")
|
||||||
|
else()
|
||||||
|
set(ENVFILE "/../../.env")
|
||||||
|
endif()
|
||||||
|
|
||||||
foreach(external_module ${EXTERNAL_MODULES_DIR})
|
foreach(external_module ${EXTERNAL_MODULES_DIR})
|
||||||
message(STATUS "external_module: ${external_module}")
|
message(STATUS "external_module: ${external_module}")
|
||||||
|
|
Loading…
Reference in New Issue