mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
add a fatal error if nmake not found
This commit is contained in:
parent
1c707059c5
commit
1b8d421fb3
1 changed files with 5 additions and 2 deletions
7
cmake/externals/qxmpp/CMakeLists.txt
vendored
7
cmake/externals/qxmpp/CMakeLists.txt
vendored
|
@ -12,9 +12,12 @@ if (ANDROID)
|
|||
endif ()
|
||||
|
||||
if (WIN32)
|
||||
find_program(PLATFORM_BUILD_COMMAND NAME nmake)
|
||||
find_program(PLATFORM_BUILD_COMMAND nmake)
|
||||
if (NOT PLATFORM_BUILD_COMMAND)
|
||||
message(FATAL_ERROR "You asked us to grap QXmpp and build it, but nmake was not found. Please make sure the folder containing nmake.exe is in your PATH.")
|
||||
endif ()
|
||||
else ()
|
||||
find_program(PLATFORM_BUILD_COMMAND NAME make)
|
||||
find_program(PLATFORM_BUILD_COMMAND make)
|
||||
endif ()
|
||||
|
||||
include(ExternalProject)
|
||||
|
|
Loading…
Reference in a new issue