Added CMAKE_PLATFORM_INFO_DIR definition for CMake <2.8.10 backward compatibility
This commit is contained in:
parent
e85bfcef08
commit
baf93fb2f2
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
# Redistribution and use of this file is allowed according to the terms of the MIT license.
|
||||
# For details see the LICENSE file distributed with Criterion.
|
||||
|
||||
# CMake <2.8.10 backward compat
|
||||
if(NOT CMAKE_PLATFORM_INFO_DIR)
|
||||
set(CMAKE_PLATFORM_INFO_DIR ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY})
|
||||
endif(NOT CMAKE_PLATFORM_INFO_DIR)
|
||||
|
||||
set(CMAKE_ObjectiveC_COMPILER_ID ${CMAKE_C_COMPILER_ID})
|
||||
set(CMAKE_ObjectiveC_COMPILER ${CMAKE_C_COMPILER})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue