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.
1 parent 1d597d8 commit 2c625b5Copy full SHA for 2c625b5
src/CMakeLists.txt
@@ -215,7 +215,7 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/version.cmake)
215
216
# Path separators ( : or ; ) are not handled well in CMake.
217
# This seems like a reasonable approach.
218
-if(WIN32)
+if(CMAKE_HOST_SYSTEM_NAME STREQUAL Windows)
219
set(CODEGEN_PYTHON_PATH
220
"${PROJECT_SOURCE_DIR}/specification/scripts;${PROJECT_SOURCE_DIR}/src/scripts;$ENV{PYTHONPATH}"
221
)
0 commit comments