Fix Project Generator for CLion IDE using Windows OS // Resolve #785

This commit is contained in:
Ivan Kravets committed 2016-09-17 16:55:42 +03:00
1 parent e50327bccc
commit 37552a81fc
2 files changed
+6 -3

No files matched your search

@@ -1,8 +1,8 @@
set(ENV{PATH} "{{env_path}}")
set(PLATFORMIO_CMD "{{platformio_path}}")
SET(CMAKE_C_COMPILER "{{cc_path}}")
SET(CMAKE_CXX_COMPILER "{{cxx_path}}")
SET(CMAKE_C_COMPILER "{{cc_path.replace("\\", "/")}}")
SET(CMAKE_CXX_COMPILER "{{cxx_path.replace("\\", "/")}}")
SET(CMAKE_CXX_FLAGS_DISTRIBUTION "{{cxx_flags}}")
SET(CMAKE_C_FLAGS_DISTRIBUTION "{{cc_flags}}")