We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fastfetch_pciids.c.inc
1 parent 6cbbe33 commit 7f63ec1Copy full SHA for 7f63ec1
CMakeLists.txt
@@ -268,11 +268,11 @@ else()
268
file(READ "src/data/help.json" DATATEXT_JSON_HELP)
269
endif()
270
271
-if(ENABLE_EMBEDDED_PCIIDS AND NOT EXISTS "fastfetch_pciids.c.inc")
+if(ENABLE_EMBEDDED_PCIIDS AND NOT EXISTS "${PROJECT_BINARY_DIR}/fastfetch_pciids.c.inc")
272
if(Python_FOUND)
273
message(STATUS "Generating 'fastfetch_pciids.c.inc'")
274
execute_process(COMMAND ${Python_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/scripts/gen-pciids.py"
275
- OUTPUT_FILE "fastfetch_pciids.c.inc")
+ OUTPUT_FILE "${PROJECT_BINARY_DIR}/fastfetch_pciids.c.inc")
276
else()
277
message(WARNING "Python3 is not found, 'fastfetch_pciids.c.inc' will not be generated")
278
set(ENABLE_EMBEDDED_PCIIDS OFF)
0 commit comments