mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 14:53:01 +02:00
help cmake find msbuild
This commit is contained in:
parent
e60d91e4ce
commit
ded0b1461b
2 changed files with 3 additions and 2 deletions
2
cmake/externals/bullet/CMakeLists.txt
vendored
2
cmake/externals/bullet/CMakeLists.txt
vendored
|
@ -21,7 +21,7 @@ if (WIN32)
|
||||||
set(MSBUILD_CONFIGURATION Release)
|
set(MSBUILD_CONFIGURATION Release)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
find_program(MSBUILD_COMMAND msbuild)
|
find_program(MSBUILD_COMMAND msbuild PATHS "C:/Program Files (x86)/MSBUILD/12.0/Bin")
|
||||||
|
|
||||||
ExternalProject_Add(
|
ExternalProject_Add(
|
||||||
${EXTERNAL_NAME}
|
${EXTERNAL_NAME}
|
||||||
|
|
3
cmake/externals/qxmpp/CMakeLists.txt
vendored
3
cmake/externals/qxmpp/CMakeLists.txt
vendored
|
@ -12,7 +12,8 @@ if (ANDROID)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
find_program(PLATFORM_BUILD_COMMAND nmake)
|
find_program(PLATFORM_BUILD_COMMAND nmake PATHS "C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin")
|
||||||
|
|
||||||
if (NOT PLATFORM_BUILD_COMMAND)
|
if (NOT PLATFORM_BUILD_COMMAND)
|
||||||
message(FATAL_ERROR "You asked CMake to grap QXmpp and build it, but nmake was not found. Please make sure the folder containing nmake.exe is in your PATH.")
|
message(FATAL_ERROR "You asked CMake to grap QXmpp and build it, but nmake was not found. Please make sure the folder containing nmake.exe is in your PATH.")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Reference in a new issue