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 6e48ba0 commit 23b1d27Copy full SHA for 23b1d27
src/CMakeLists.txt
@@ -225,7 +225,7 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/version.cmake)
225
226
# Path separators ( : or ; ) are not handled well in CMake.
227
# This seems like a reasonable approach.
228
-if(WIN32)
+if(CMAKE_HOST_SYSTEM_NAME STREQUAL Windows)
229
set(CODEGEN_PYTHON_PATH
230
"${PROJECT_SOURCE_DIR}/specification/scripts;${PROJECT_SOURCE_DIR}/src/scripts;$ENV{PYTHONPATH}"
231
)
0 commit comments