mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-19 03:57:14 +01:00
Compare commits
4 Commits
d879999aeb
...
9f808376b9
Author | SHA1 | Date | |
---|---|---|---|
|
9f808376b9 | ||
|
cbfed04bc9 | ||
|
44ed4c849c | ||
|
bc2260a0f0 |
9
vendor/POCO/cmake/PocoMacros.cmake
vendored
9
vendor/POCO/cmake/PocoMacros.cmake
vendored
@ -39,9 +39,16 @@ if(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
endif(X64)
|
endif(X64)
|
||||||
endif()
|
|
||||||
find_program(CMAKE_MC_COMPILER mc.exe HINTS "${sdk_bindir}" "${kit_bindir}" "${kit81_bindir}" ${kit10_bindir}
|
find_program(CMAKE_MC_COMPILER mc.exe HINTS "${sdk_bindir}" "${kit_bindir}" "${kit81_bindir}" ${kit10_bindir}
|
||||||
DOC "path to message compiler")
|
DOC "path to message compiler")
|
||||||
|
elseif ("${CMAKE_GENERATOR}" MATCHES "MSYS" OR "${CMAKE_GENERATOR}" MATCHES "^(CodeBlocks)?.*(MinGW)?.*")
|
||||||
|
get_filename_component(MINGW_BIN_PATH ${CMAKE_C_COMPILER} DIRECTORY REALPATH)
|
||||||
|
if(NOT IS_DIRECTORY ${MINGW_BIN_PATH})
|
||||||
|
get_filename_component(MINGW_BIN_PATH ${CMAKE_CXX_COMPILER} DIRECTORY REALPATH)
|
||||||
|
endif()
|
||||||
|
find_program(CMAKE_MC_COMPILER windmc.exe HINTS "${MINGW_BIN_PATH}"
|
||||||
|
DOC "path to message compiler")
|
||||||
|
endif()
|
||||||
if(NOT CMAKE_MC_COMPILER)
|
if(NOT CMAKE_MC_COMPILER)
|
||||||
message(FATAL_ERROR "message compiler not found: required to build")
|
message(FATAL_ERROR "message compiler not found: required to build")
|
||||||
endif(NOT CMAKE_MC_COMPILER)
|
endif(NOT CMAKE_MC_COMPILER)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user