diff options
Diffstat (limited to 'CMake/setup.cmake')
| -rw-r--r-- | CMake/setup.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMake/setup.cmake b/CMake/setup.cmake index 2be2aacd5..84b3ebda4 100644 --- a/CMake/setup.cmake +++ b/CMake/setup.cmake @@ -68,6 +68,14 @@ endif (WIN32 AND NOT CYGWIN) include(TestBigEndian) TEST_BIG_ENDIAN(WORDS_BIGENDIAN) +if (CMAKE_GENERATOR MATCHES "Xcode") + if (${XCODE_VERSION} VERSION_GREATER_EQUAL 3.9) # CMake 3.9 and up + # Tell Xcode to regenerate scheme information automatically whenever the + # CMake configuartion changes without asking the user + set (CMAKE_XCODE_GENERATE_SCHEME 1) + endif() +endif() + if (APPLE) set (HAVE_STRCASECMP 1) set (HAVE_DIRENT_H 1) |
