mirror of
https://github.com/QuasarApp/CMake.git
synced 2025-04-26 17:54:43 +00:00
fix crossplatform module
This commit is contained in:
parent
afba239ef3
commit
975c1656a7
@ -28,7 +28,7 @@ endif()
|
||||
# * deployFile - This is path to the deploy file of the cqtdepoyer tool. Use it for deploy your site.
|
||||
|
||||
if (NOT DEFINED TARGET_PLATFORM_TOOLCHAIN)
|
||||
message( STATUS "The crossplatform build is disabled")
|
||||
message(STATUS "The crossplatform build is disabled")
|
||||
return()
|
||||
|
||||
endif()
|
||||
@ -38,9 +38,9 @@ set(CROSSPLATFORM_BUILD_TOOLCHAIN_PATH ${CMAKE_CURRENT_LIST_DIR}/${CMAKE_HOST_SY
|
||||
message("CROSSPLATFORM_BUILD_TOOLCHAIN_PATH = ${CROSSPLATFORM_BUILD_TOOLCHAIN_PATH}")
|
||||
if(EXISTS ${CROSSPLATFORM_BUILD_TOOLCHAIN_PATH})
|
||||
|
||||
message( STATUS "${TARGET_PLATFORM_TOOLCHAIN} exits in ${CROSSPLATFORM_BUILD_TOOLCHAIN_PATH}")
|
||||
message(STATUS "${TARGET_PLATFORM_TOOLCHAIN} exits in ${CROSSPLATFORM_BUILD_TOOLCHAIN_PATH}")
|
||||
|
||||
include( STATUS ${CROSSPLATFORM_BUILD_TOOLCHAIN_PATH})
|
||||
include("${CROSSPLATFORM_BUILD_TOOLCHAIN_PATH}")
|
||||
|
||||
else(EXISTS ${CROSSPLATFORM_BUILD_TOOLCHAIN_PATH})
|
||||
message(STATUS "${TARGET_PLATFORM_TOOLCHAIN} not exits in ${CROSSPLATFORM_BUILD_TOOLCHAIN_PATH}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user