Skip to content
This repository was archived by the owner on Jul 19, 2018. It is now read-only.

Commit a6d2c01

Browse files
committed
cmake noise; get lib order right so opt finds the symbols it needs in tools
1 parent 82750b1 commit a6d2c01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ if (WIN32)
265265
IMPORTED_LOCATION_DEBUG "${SPIRV_TOOLS_OPT_DLIB}")
266266

267267
set (GLSLANG_LIBRARIES glslang OGLCompiler OSDependent HLSL SPIRV SPVRemapper)
268-
set (SPIRV_TOOLS_LIBRARIES SPIRV-Tools SPIRV-Tools-opt)
268+
set (SPIRV_TOOLS_LIBRARIES SPIRV-Tools-opt SPIRV-Tools)
269269
else ()
270270
set (GLSLANG_LIBRARIES ${GLSLANG_LIB} ${OGLCompiler_LIB} ${OSDependent_LIB} ${HLSL_LIB} ${SPIRV_LIB} ${SPIRV_REMAPPER_LIB})
271-
set (SPIRV_TOOLS_LIBRARIES ${SPIRV_TOOLS_LIB} ${SPIRV_TOOLS_OPT_LIB})
271+
set (SPIRV_TOOLS_LIBRARIES ${SPIRV_TOOLS_OPT_LIB} ${SPIRV_TOOLS_LIB})
272272
endif()
273273

274274
set (PYTHON_CMD ${PYTHON_EXECUTABLE})

0 commit comments

Comments
 (0)