Build: Fix build/install with Xcode IDE

Closes #355
This commit is contained in:
DRC
2019-07-02 11:28:26 -05:00
parent 509c2680aa
commit f37b7c1f96
3 changed files with 11 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ foreach(src ${JPEG_SOURCES})
set(JPEG_SRCS ${JPEG_SRCS} ../${src})
endforeach()
if(WITH_SIMD AND MSVC_IDE)
if(WITH_SIMD AND (MSVC_IDE OR XCODE))
# This tells CMake that the "source" files haven't been generated yet
set_source_files_properties(${SIMD_OBJS} PROPERTIES GENERATED 1)
endif()