Skip to content

Commit d5fd875

Browse files
add cmake options for python plugin compilation
1 parent 383d676 commit d5fd875

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ elseif(WIN32)
7070
set(INSTALL_DATA_DIR ".")
7171
set(INSTALL_FONTS_DIR ".")
7272
endif()
73+
74+
if(RAYX_CUSTOM_DATA_DIR)
75+
set(INSTALL_DATA_DIR ${RAYX_CUSTOM_DATA_DIR})
76+
endif()
7377
# ------------------
7478

7579

Intern/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ endif()
1111

1212
# ---- Subdirectories ----
1313
add_subdirectory(rayx-core)
14-
add_subdirectory(rayx)
14+
15+
if(NOT RAYX_CMD STREQUAL "NO")
16+
add_subdirectory(rayx)
17+
endif()
1518

1619
# Don't build rayx-ui without Vulkan
1720
if(NOT VULKAN STREQUAL "NO")

0 commit comments

Comments
 (0)