Skip to content

Commit 9da2d79

Browse files
authored
build(windows): Ensure 'lib' prefix is on the dynamicaly loaded batched shading libraries for windows (#2025)
When the ISA-specific dll is loaded dynamically by the batched shading system, it was expecting the lib prefix to be there. Signed-off-by: Alex Fuller <[email protected]>
1 parent d7591f0 commit 9da2d79

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/liboslexec/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,10 @@ foreach(batched_target ${BATCHED_TARGET_LIST})
508508
endforeach(target_src)
509509

510510
add_library ( ${batched_target_lib} MODULE ${TARGET_LIB_SOURCES} )
511-
511+
if (WIN32)
512+
set_target_properties( ${batched_target_lib} PROPERTIES PREFIX "lib" )
513+
endif()
514+
512515
target_include_directories (${batched_target_lib}
513516
PUBLIC
514517
${CMAKE_INSTALL_FULL_INCLUDEDIR}

0 commit comments

Comments
 (0)