Skip to content

Commit 2ab23f6

Browse files
aneshlyakraszkow
authored andcommitted
Support dev packages of ISPC
1 parent e3f7a68 commit 2ab23f6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

get_ispc.cmake

+7-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@ elseif(APPLE)
2222
set(_ISPC_SRC_LIB_NAME lib)
2323
set(_ISPC_DST_LIB_NAME lib)
2424
else()
25-
set(_ISPC_SRC_LIB_NAME lib64)
26-
set(_ISPC_DST_LIB_NAME lib64)
25+
if(ISPC_VERSION MATCHES "dev")
26+
set(_ISPC_SRC_LIB_NAME lib)
27+
set(_ISPC_DST_LIB_NAME lib)
28+
else()
29+
set(_ISPC_SRC_LIB_NAME lib64)
30+
set(_ISPC_DST_LIB_NAME lib64)
31+
endif()
2732
# set(FIND_LIBRARY_USE_LIB64_PATHS TRUE)
2833
endif()
2934

0 commit comments

Comments
 (0)