You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake Error: install(EXPORT "MSLCompileTargets" ...) includes target "msl_compile" which requires target "SPIRV-Tools-opt" that is not in any export set.
CMake Error in Compile/CMakeLists.txt:
export called with target "msl_compile" which requires target
"SPIRV-Tools-opt" that is not in any export set.
Version: 1.5.1
The text was updated successfully, but these errors were encountered:
I fixed this with the latest revision. In case you were setting SPIRV_TOOLS_BUILD_STATIC=OFF manually to ensure the full package is installed with shared libraries, the SPIRV-Tools libraries I use are statically linked with libmsl_compile.so and not exposed externally to the library. The static SPIRV-Tools libraries also aren't a part of the install package.
* Set MSL_SHARED to ON by default if BUILD_SHARED_LIBS is set to ON.
(fixes#4)
* Updated SPIRV-Tools fork to ignore SPIRV_TOOLS_BUILD_STATIC as static
libraries are always expected. (fixes#6)
* Make detection of flatbuffers more robust. Flatbuffers will now only be
generated if both flatc and the headers are found. CMake generation will
also force the flatbuffers to be rebuilt to avoid cases like a fresh
checkout not considering the file dirty. (fixes#5)
Updated the Windows build image to the latest and build against the v141
(or Visual Studio 2017) runtime.
Version: 1.5.1
The text was updated successfully, but these errors were encountered: