Przeglądaj źródła

fix compile again

ambrop7 15 lat temu
rodzic
commit
a0bb0e03ba
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ncd/CMakeLists.txt

+ 1 - 1
ncd/CMakeLists.txt

@@ -62,7 +62,7 @@ add_executable(badvpn-ncd
 target_link_libraries(badvpn-ncd system dhcpclient ncdconfig process)
 
 if (BADVPN_USE_LINUX_INPUT)
-    string(REPLACE " " ";" FLAGS_LIST ${CMAKE_C_FLAGS})
+    string(REPLACE " " ";" FLAGS_LIST "${CMAKE_C_FLAGS}")
     execute_process(COMMAND ${CMAKE_C_COMPILER} ${FLAGS_LIST} -E ${CMAKE_CURRENT_SOURCE_DIR}/include_linux_input.h
                     RESULT_VARIABLE LINUX_INPUT_PREPROCESS_RESULT
                     OUTPUT_VARIABLE LINUX_INPUT_PREPROCESS_OUTPUT)