CMakeFindEclipse: use lowercase for macro calls

Alex
This commit is contained in:
Alex Neundorf 2013-09-19 00:14:13 +02:00
parent 9bcf6adc38
commit 1ff8c21734
1 changed files with 2 additions and 2 deletions

View File

@ -60,13 +60,13 @@ function(_FIND_ECLIPSE_VERSION)
)
endfunction()
_FIND_ECLIPSE_VERSION()
_find_eclipse_version()
# Try to find out how many CPUs we have and set the -j argument for make accordingly
set(_CMAKE_ECLIPSE_INITIAL_MAKE_ARGS "")
include(ProcessorCount)
PROCESSORCOUNT(_CMAKE_ECLIPSE_PROCESSOR_COUNT)
processorcount(_CMAKE_ECLIPSE_PROCESSOR_COUNT)
# Only set -j if we are under UNIX and if the make-tool used actually has "make" in the name
# (we may also get here in the future e.g. for ninja)