parent
9bcf6adc38
commit
1ff8c21734
|
@ -60,13 +60,13 @@ function(_FIND_ECLIPSE_VERSION)
|
||||||
)
|
)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
_FIND_ECLIPSE_VERSION()
|
_find_eclipse_version()
|
||||||
|
|
||||||
# Try to find out how many CPUs we have and set the -j argument for make accordingly
|
# Try to find out how many CPUs we have and set the -j argument for make accordingly
|
||||||
set(_CMAKE_ECLIPSE_INITIAL_MAKE_ARGS "")
|
set(_CMAKE_ECLIPSE_INITIAL_MAKE_ARGS "")
|
||||||
|
|
||||||
include(ProcessorCount)
|
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
|
# 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)
|
# (we may also get here in the future e.g. for ninja)
|
||||||
|
|
Loading…
Reference in New Issue